summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.cpp
diff options
context:
space:
mode:
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;