diff options
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) { |