summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_fffield.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-10 19:36:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-10 19:36:07 +0000
commit4712af9e8bad3ab7da7e8372806f5360131baf89 (patch)
tree05dd16551ac7253bec360a70578efba6a58d7c0b /xfa/fxfa/cxfa_fffield.cpp
parent1e6490da6fb813930d1073ac05ace8a21fa9ca28 (diff)
downloadpdfium-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_fffield.cpp')
-rw-r--r--xfa/fxfa/cxfa_fffield.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_fffield.cpp b/xfa/fxfa/cxfa_fffield.cpp
index fdc2b1c6ed..5988d5b876 100644
--- a/xfa/fxfa/cxfa_fffield.cpp
+++ b/xfa/fxfa/cxfa_fffield.cpp
@@ -211,7 +211,7 @@ void CXFA_FFField::CapPlacement() {
m_rtCaption.height += pItem->GetRect(false).Height();
pItem = pItem->GetNext();
}
- XFA_RectWidthoutMargin(m_rtCaption, margin);
+ XFA_RectWithoutMargin(m_rtCaption, margin);
}
CXFA_TextLayout* pCapTextLayout =
@@ -271,7 +271,7 @@ void CXFA_FFField::CapPlacement() {
if (borderUI) {
CXFA_Margin* borderMargin = borderUI->GetMargin();
if (borderMargin)
- XFA_RectWidthoutMargin(m_rtUI, borderMargin);
+ XFA_RectWithoutMargin(m_rtUI, borderMargin);
}
m_rtUI.Normalize();
}
@@ -282,7 +282,7 @@ void CXFA_FFField::CapTopBottomPlacement(const CXFA_Margin* margin,
CFX_RectF rtUIMargin = m_pNode->GetWidgetAcc()->GetUIMargin();
m_rtCaption.left += rtUIMargin.left;
if (margin) {
- XFA_RectWidthoutMargin(m_rtCaption, margin);
+ XFA_RectWithoutMargin(m_rtCaption, margin);
if (m_rtCaption.height < 0)
m_rtCaption.top += m_rtCaption.height;
}
@@ -309,7 +309,7 @@ void CXFA_FFField::CapLeftRightPlacement(const CXFA_Margin* margin,
m_rtCaption.top += rtUIMargin.top;
m_rtCaption.height -= rtUIMargin.top;
if (margin) {
- XFA_RectWidthoutMargin(m_rtCaption, margin);
+ XFA_RectWithoutMargin(m_rtCaption, margin);
if (m_rtCaption.height < 0)
m_rtCaption.top += m_rtCaption.height;
}