summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffimage.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 20:59:30 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 20:59:30 +0000
commit5fe712cb6c605e597f65f6b4cd0afa3213234639 (patch)
tree666bf236e5a213f7baa23fbd1d407baef794942e /xfa/fxfa/cxfa_ffimage.cpp
parentc3ef52cf3c26d47877740dc46faa3088be44cfae (diff)
downloadpdfium-5fe712cb6c605e597f65f6b4cd0afa3213234639.tar.xz
Rename CXFA_Para to CXFA_ParaData
This CL renames CXFA_Para to CXFA_ParaData to show it is part of the data hierarchy. Change-Id: I71f58c87416b17d1e59252ca374aad13935fc430 Reviewed-on: https://pdfium-review.googlesource.com/17989 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffimage.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffimage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffimage.cpp b/xfa/fxfa/cxfa_ffimage.cpp
index f385d7ba01..f148ea12b4 100644
--- a/xfa/fxfa/cxfa_ffimage.cpp
+++ b/xfa/fxfa/cxfa_ffimage.cpp
@@ -54,9 +54,9 @@ void CXFA_FFImage::RenderWidget(CXFA_Graphics* pGS,
int32_t iHorzAlign = XFA_ATTRIBUTEENUM_Left;
int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top;
- if (CXFA_Para para = m_pDataAcc->GetPara()) {
- iHorzAlign = para.GetHorizontalAlign();
- iVertAlign = para.GetVerticalAlign();
+ if (CXFA_ParaData paraData = m_pDataAcc->GetParaData()) {
+ iHorzAlign = paraData.GetHorizontalAlign();
+ iVertAlign = paraData.GetVerticalAlign();
}
CXFA_Value value = m_pDataAcc->GetFormValue();