summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffrectangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffrectangle.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffrectangle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffrectangle.cpp b/xfa/fxfa/cxfa_ffrectangle.cpp
index 7c6035cd07..5305d17950 100644
--- a/xfa/fxfa/cxfa_ffrectangle.cpp
+++ b/xfa/fxfa/cxfa_ffrectangle.cpp
@@ -21,7 +21,6 @@ void CXFA_FFRectangle::RenderWidget(CXFA_Graphics* pGS,
if (!value)
return;
- CXFA_Rectangle rtObj = value.GetRectangle();
CFX_RectF rect = GetRectWithoutRotate();
if (CXFA_MarginData marginData = m_pDataAcc->GetMarginData())
XFA_RectWidthoutMargin(rect, marginData);
@@ -29,5 +28,5 @@ void CXFA_FFRectangle::RenderWidget(CXFA_Graphics* pGS,
CFX_Matrix mtRotate = GetRotateMatrix();
mtRotate.Concat(matrix);
- DrawBorder(pGS, rtObj, rect, mtRotate);
+ DrawBorder(pGS, value.GetRectangleData(), rect, mtRotate);
}