diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-10 19:36:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-10 19:36:07 +0000 |
commit | 4712af9e8bad3ab7da7e8372806f5360131baf89 (patch) | |
tree | 05dd16551ac7253bec360a70578efba6a58d7c0b /xfa/fxfa/cxfa_ffcheckbutton.cpp | |
parent | 1e6490da6fb813930d1073ac05ace8a21fa9ca28 (diff) | |
download | pdfium-4712af9e8bad3ab7da7e8372806f5360131baf89.tar.xz |
Correct spelling for XFA_RectWithoutMargin
Fix spelling mistake.
Change-Id: I1322bf898d8bf558f4d1e8d9b3294cf31f916c87
Reviewed-on: https://pdfium-review.googlesource.com/22671
Reviewed-by: Ryan Harrison <rharrison@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 0b5bf53ef5..001a3c1279 100644 --- a/xfa/fxfa/cxfa_ffcheckbutton.cpp +++ b/xfa/fxfa/cxfa_ffcheckbutton.cpp @@ -94,7 +94,7 @@ bool CXFA_FFCheckButton::PerformLayout() { CXFA_Margin* margin = m_pNode->GetMargin(); CFX_RectF rtWidget = GetRectWithoutRotate(); if (margin) - XFA_RectWidthoutMargin(rtWidget, margin); + XFA_RectWithoutMargin(rtWidget, margin); XFA_AttributeEnum iCapPlacement = XFA_AttributeEnum::Unknown; float fCapReserve = 0; @@ -133,7 +133,7 @@ bool CXFA_FFCheckButton::PerformLayout() { } case XFA_AttributeEnum::Top: { m_rtCaption.height = fCapReserve; - XFA_RectWidthoutMargin(m_rtCaption, captionMargin); + XFA_RectWithoutMargin(m_rtCaption, captionMargin); m_rtUI.height -= fCapReserve; m_rtUI.top += fCapReserve; break; @@ -148,7 +148,7 @@ bool CXFA_FFCheckButton::PerformLayout() { case XFA_AttributeEnum::Bottom: { m_rtCaption.top = m_rtCaption.bottom() - fCapReserve; m_rtCaption.height = fCapReserve; - XFA_RectWidthoutMargin(m_rtCaption, captionMargin); + XFA_RectWithoutMargin(m_rtCaption, captionMargin); m_rtUI.height -= fCapReserve; break; } @@ -177,7 +177,7 @@ bool CXFA_FFCheckButton::PerformLayout() { if (borderUI) { CXFA_Margin* borderMargin = borderUI->GetMargin(); if (borderMargin) - XFA_RectWidthoutMargin(m_rtUI, borderMargin); + XFA_RectWithoutMargin(m_rtUI, borderMargin); } m_rtUI.Normalize(); @@ -191,7 +191,7 @@ bool CXFA_FFCheckButton::PerformLayout() { void CXFA_FFCheckButton::CapLeftRightPlacement( const CXFA_Margin* captionMargin) { - XFA_RectWidthoutMargin(m_rtCaption, captionMargin); + XFA_RectWithoutMargin(m_rtCaption, captionMargin); if (m_rtCaption.height < 0) m_rtCaption.top += m_rtCaption.height; if (m_rtCaption.width < 0) { |