From 4712af9e8bad3ab7da7e8372806f5360131baf89 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 10 Jan 2018 19:36:07 +0000 Subject: Correct spelling for XFA_RectWithoutMargin Fix spelling mistake. Change-Id: I1322bf898d8bf558f4d1e8d9b3294cf31f916c87 Reviewed-on: https://pdfium-review.googlesource.com/22671 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffcheckbutton.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xfa/fxfa/cxfa_ffcheckbutton.cpp') 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) { -- cgit v1.2.3