summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_fftextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_fftextedit.cpp')
-rw-r--r--xfa/fxfa/cxfa_fftextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_fftextedit.cpp b/xfa/fxfa/cxfa_fftextedit.cpp
index 848eab875f..f3be75d2a4 100644
--- a/xfa/fxfa/cxfa_fftextedit.cpp
+++ b/xfa/fxfa/cxfa_fftextedit.cpp
@@ -215,7 +215,7 @@ bool CXFA_FFTextEdit::IsDataChanged() {
uint32_t CXFA_FFTextEdit::GetAlignment() {
CXFA_ParaData paraData = m_pDataAcc->GetParaData();
- if (!paraData)
+ if (!paraData.HasValidNode())
return 0;
uint32_t dwExtendedStyle = 0;