diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffpushbutton.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffpushbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp index 85805b4d76..97078a6f75 100644 --- a/xfa/fxfa/cxfa_ffpushbutton.cpp +++ b/xfa/fxfa/cxfa_ffpushbutton.cpp @@ -107,7 +107,7 @@ bool CXFA_FFPushButton::PerformLayout() { m_rtCaption = rtWidget; CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); - CXFA_Margin* captionMargin = caption ? caption->GetMargin() : nullptr; + CXFA_Margin* captionMargin = caption ? caption->GetMarginIfExists() : nullptr; if (captionMargin) XFA_RectWithoutMargin(m_rtCaption, captionMargin); |