summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffpushbutton.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-09 11:46:16 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 11:46:16 -0700
commit20d6b76d82a762e75e8c2a89976f93acd9af7467 (patch)
tree9142c0179606d9909158678559e0adcac8b9991f /xfa/fxfa/app/xfa_ffpushbutton.cpp
parente64c3c60bdc1ca2e937e4317a9238ab4c210dfe5 (diff)
downloadpdfium-20d6b76d82a762e75e8c2a89976f93acd9af7467.tar.xz
Use static_cast<CXFA_WidgetAcc*> in xfa.
Remove a few other unused casts, simplify. Review-Url: https://codereview.chromium.org/2052593003
Diffstat (limited to 'xfa/fxfa/app/xfa_ffpushbutton.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffpushbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffpushbutton.cpp b/xfa/fxfa/app/xfa_ffpushbutton.cpp
index 6c161b064b..168e8a1535 100644
--- a/xfa/fxfa/app/xfa_ffpushbutton.cpp
+++ b/xfa/fxfa/app/xfa_ffpushbutton.cpp
@@ -58,7 +58,7 @@ FX_BOOL CXFA_FFPushButton::LoadWidget() {
pPushButton->Initialize();
}
m_pOldDelegate = pPushButton->SetDelegate(this);
- m_pNormalWidget = (CFWL_Widget*)pPushButton;
+ m_pNormalWidget = pPushButton;
m_pNormalWidget->SetLayoutItem(this);
IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
CFWL_NoteDriver* pNoteDriver = FWL_GetApp()->GetNoteDriver();