summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpushbutton.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_ffpushbutton.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_ffpushbutton.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffpushbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp
index 62d692469d..4bcd1553b9 100644
--- a/xfa/fxfa/cxfa_ffpushbutton.cpp
+++ b/xfa/fxfa/cxfa_ffpushbutton.cpp
@@ -102,14 +102,14 @@ bool CXFA_FFPushButton::PerformLayout() {
m_rtUI = rtWidget;
CXFA_Margin* margin = m_pNode->GetMargin();
if (margin)
- XFA_RectWidthoutMargin(rtWidget, margin);
+ XFA_RectWithoutMargin(rtWidget, margin);
m_rtCaption = rtWidget;
CXFA_Caption* caption = m_pNode->GetCaptionIfExists();
CXFA_Margin* captionMargin = caption ? caption->GetMargin() : nullptr;
if (captionMargin)
- XFA_RectWidthoutMargin(m_rtCaption, captionMargin);
+ XFA_RectWithoutMargin(m_rtCaption, captionMargin);
LayoutHighlightCaption();
SetFWLRect();