diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-07 18:44:51 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-07 18:44:51 +0000 |
commit | 0a9b0a15133370657a2f3e13f062028c17a3dc0b (patch) | |
tree | 37ae48dbc880c6ff38a4a8ee3f7e1f6a33a050a3 /xfa/fxfa/cxfa_ffcheckbutton.cpp | |
parent | f44cf89c0263708b7d475fb1aeba6ba42f54766f (diff) | |
download | pdfium-0a9b0a15133370657a2f3e13f062028c17a3dc0b.tar.xz |
Rename CXFA_Caption to CXFA_CaptionData
This CL renames CXFA_Caption to CXFA_CaptionData to make it clear it's
part of the data hierarchy.
Change-Id: I0268005e12a6b58aed7274bf9d023887119a8a63
Reviewed-on: https://pdfium-review.googlesource.com/17977
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffcheckbutton.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffcheckbutton.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/cxfa_ffcheckbutton.cpp b/xfa/fxfa/cxfa_ffcheckbutton.cpp index ab303b08dd..87fa41f3b7 100644 --- a/xfa/fxfa/cxfa_ffcheckbutton.cpp +++ b/xfa/fxfa/cxfa_ffcheckbutton.cpp @@ -98,11 +98,11 @@ bool CXFA_FFCheckButton::PerformLayout() { int32_t iCapPlacement = -1; float fCapReserve = 0; - CXFA_Caption caption = m_pDataAcc->GetCaption(); - if (caption && caption.GetPresence()) { + CXFA_CaptionData captionData = m_pDataAcc->GetCaptionData(); + if (captionData && captionData.GetPresence()) { m_rtCaption = rtWidget; - iCapPlacement = caption.GetPlacementType(); - fCapReserve = caption.GetReserve(); + iCapPlacement = captionData.GetPlacementType(); + fCapReserve = captionData.GetReserve(); if (fCapReserve <= 0) { if (iCapPlacement == XFA_ATTRIBUTEENUM_Top || iCapPlacement == XFA_ATTRIBUTEENUM_Bottom) { @@ -121,7 +121,7 @@ bool CXFA_FFCheckButton::PerformLayout() { } m_rtUI = rtWidget; - CXFA_Margin mgCap = caption.GetMargin(); + CXFA_Margin mgCap = captionData.GetMargin(); switch (iCapPlacement) { case XFA_ATTRIBUTEENUM_Left: { m_rtCaption.width = fCapReserve; |