diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffpushbutton.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffpushbutton.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp index 295422dcf3..0753a8349a 100644 --- a/xfa/fxfa/cxfa_ffpushbutton.cpp +++ b/xfa/fxfa/cxfa_ffpushbutton.cpp @@ -28,9 +28,7 @@ CXFA_FFPushButton::CXFA_FFPushButton(CXFA_Node* pNode, CXFA_Button* button) : CXFA_FFField(pNode), button_(button) {} -CXFA_FFPushButton::~CXFA_FFPushButton() { - CXFA_FFPushButton::UnloadWidget(); -} +CXFA_FFPushButton::~CXFA_FFPushButton() = default; void CXFA_FFPushButton::RenderWidget(CXFA_Graphics* pGS, const CFX_Matrix& matrix, @@ -88,15 +86,6 @@ void CXFA_FFPushButton::UpdateWidgetProperty() { m_pNormalWidget->ModifyStylesEx(dwStyleEx, 0xFFFFFFFF); } -void CXFA_FFPushButton::UnloadWidget() { - m_pRolloverTextLayout.reset(); - m_pDownTextLayout.reset(); - m_pRollProvider.reset(); - m_pDownProvider.reset(); - m_pOldDelegate = nullptr; - CXFA_FFField::UnloadWidget(); -} - bool CXFA_FFPushButton::PerformLayout() { CXFA_FFWidget::PerformLayout(); CFX_RectF rtWidget = GetRectWithoutRotate(); |