diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffrectangle.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffrectangle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffrectangle.cpp b/xfa/fxfa/cxfa_ffrectangle.cpp index e02a630568..ba9b950154 100644 --- a/xfa/fxfa/cxfa_ffrectangle.cpp +++ b/xfa/fxfa/cxfa_ffrectangle.cpp @@ -25,8 +25,7 @@ void CXFA_FFRectangle::RenderWidget(CXFA_Graphics* pGS, CFX_RectF rect = GetRectWithoutRotate(); CXFA_Margin* margin = m_pNode->GetMarginIfExists(); - if (margin) - XFA_RectWithoutMargin(rect, margin); + XFA_RectWithoutMargin(&rect, margin); CFX_Matrix mtRotate = GetRotateMatrix(); mtRotate.Concat(matrix); |