diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-31 12:50:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-31 12:50:04 -0700 |
commit | 42cb64572198bf8a72de9b18eae9f9dd9a07beb7 (patch) | |
tree | c27bd79fe9e1f6c79842c48ea07c9feb1faceb58 /xfa/fwl/core/cfwl_pushbutton.cpp | |
parent | 461b1d93f717e248ceb3c1e1bbb8285ba3258f8c (diff) | |
download | pdfium-42cb64572198bf8a72de9b18eae9f9dd9a07beb7.tar.xz |
Remove GetWidget() overrides
This Cl removes the various CFWL_*::GetWidget overrides and adds anonymous
To* methods as needed.
Review-Url: https://codereview.chromium.org/2467503003
Diffstat (limited to 'xfa/fwl/core/cfwl_pushbutton.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_pushbutton.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fwl/core/cfwl_pushbutton.cpp b/xfa/fwl/core/cfwl_pushbutton.cpp index 2d03e86412..3f81d8c449 100644 --- a/xfa/fwl/core/cfwl_pushbutton.cpp +++ b/xfa/fwl/core/cfwl_pushbutton.cpp @@ -23,14 +23,6 @@ void CFWL_PushButton::Initialize() { CFWL_Widget::Initialize(); } -IFWL_PushButton* CFWL_PushButton::GetWidget() { - return static_cast<IFWL_PushButton*>(m_pIface.get()); -} - -const IFWL_PushButton* CFWL_PushButton::GetWidget() const { - return static_cast<IFWL_PushButton*>(m_pIface.get()); -} - FWL_Error CFWL_PushButton::GetCaption(CFX_WideString& wsCaption) { wsCaption = m_buttonData.m_wsCaption; return FWL_Error::Succeeded; |