summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.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_ffwidget.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_ffwidget.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffwidget.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp
index 20719519a4..cff0697c82 100644
--- a/xfa/fxfa/cxfa_ffwidget.cpp
+++ b/xfa/fxfa/cxfa_ffwidget.cpp
@@ -989,7 +989,7 @@ void CXFA_FFWidget::RenderWidget(CXFA_Graphics* pGS,
CFX_RectF rtBorder = GetRectWithoutRotate();
CXFA_Margin* margin = border->GetMargin();
if (margin)
- XFA_RectWidthoutMargin(rtBorder, margin);
+ XFA_RectWithoutMargin(rtBorder, margin);
rtBorder.Normalize();
DrawBorder(pGS, border, rtBorder, matrix);
@@ -2013,9 +2013,7 @@ RetainPtr<CFX_DIBitmap> XFA_LoadImageFromBuffer(
return pBitmap;
}
-void XFA_RectWidthoutMargin(CFX_RectF& rt,
- const CXFA_Margin* margin,
- bool bUI) {
+void XFA_RectWithoutMargin(CFX_RectF& rt, const CXFA_Margin* margin, bool bUI) {
if (!margin)
return;