diff options
Diffstat (limited to 'xfa/fxfa/cxfa_fftextedit.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_fftextedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_fftextedit.cpp b/xfa/fxfa/cxfa_fftextedit.cpp index dbfb52e085..61f48d7f54 100644 --- a/xfa/fxfa/cxfa_fftextedit.cpp +++ b/xfa/fxfa/cxfa_fftextedit.cpp @@ -215,12 +215,12 @@ bool CXFA_FFTextEdit::IsDataChanged() { } uint32_t CXFA_FFTextEdit::GetAlignment() { - CXFA_Para para = m_pDataAcc->GetPara(); - if (!para) + CXFA_ParaData paraData = m_pDataAcc->GetParaData(); + if (!paraData) return 0; uint32_t dwExtendedStyle = 0; - switch (para.GetHorizontalAlign()) { + switch (paraData.GetHorizontalAlign()) { case XFA_ATTRIBUTEENUM_Center: dwExtendedStyle |= FWL_STYLEEXT_EDT_HCenter; break; @@ -238,7 +238,7 @@ uint32_t CXFA_FFTextEdit::GetAlignment() { break; } - switch (para.GetVerticalAlign()) { + switch (paraData.GetVerticalAlign()) { case XFA_ATTRIBUTEENUM_Middle: dwExtendedStyle |= FWL_STYLEEXT_EDT_VCenter; break; |