summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffimage.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 21:59:45 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 21:59:45 +0000
commit96d6f741b3c106ba0e48a05692910f64cf1e5e09 (patch)
tree07fc97f427a308bffd995ae9a77aa2dbac9972eb /xfa/fxfa/cxfa_ffimage.cpp
parentb06d3f8d7658eeab6624f66aef690a7f4b44936e (diff)
downloadpdfium-96d6f741b3c106ba0e48a05692910f64cf1e5e09.tar.xz
Cleanup CXFA_ParaData
This CL fixes the return types and makes the CXFA_ParaData methods const. Change-Id: Ifb63b46e826d9741682d992d7fc1ee37c772fb41 Reviewed-on: https://pdfium-review.googlesource.com/19070 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffimage.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffimage.cpp b/xfa/fxfa/cxfa_ffimage.cpp
index 063d3aef5b..79b7d9dd6f 100644
--- a/xfa/fxfa/cxfa_ffimage.cpp
+++ b/xfa/fxfa/cxfa_ffimage.cpp
@@ -53,8 +53,8 @@ void CXFA_FFImage::RenderWidget(CXFA_Graphics* pGS,
if (marginData.HasValidNode())
XFA_RectWidthoutMargin(rtImage, marginData);
- int32_t iHorzAlign = XFA_ATTRIBUTEENUM_Left;
- int32_t iVertAlign = XFA_ATTRIBUTEENUM_Top;
+ XFA_ATTRIBUTEENUM iHorzAlign = XFA_ATTRIBUTEENUM_Left;
+ XFA_ATTRIBUTEENUM iVertAlign = XFA_ATTRIBUTEENUM_Top;
CXFA_ParaData paraData = m_pDataAcc->GetParaData();
if (paraData.HasValidNode()) {
iHorzAlign = paraData.GetHorizontalAlign();