diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-11 16:36:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-11 16:36:19 -0800 |
commit | c40697b24550182898b30de639790eaf82ebf158 (patch) | |
tree | 16a475f270e8961dd3c7ebf83c1da767c9d1adbd /xfa/fwl/core/cfwl_pushbutton.cpp | |
parent | dc40c40f40ed2415605da32f688091a57f53c9e6 (diff) | |
download | pdfium-c40697b24550182898b30de639790eaf82ebf158.tar.xz |
Continue IFWL widget cleanup.
Remove usunsed methods and FWL_Error returns.
Review-Url: https://codereview.chromium.org/2488963005
Diffstat (limited to 'xfa/fwl/core/cfwl_pushbutton.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_pushbutton.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xfa/fwl/core/cfwl_pushbutton.cpp b/xfa/fwl/core/cfwl_pushbutton.cpp index 888c127782..1fc6191d3d 100644 --- a/xfa/fwl/core/cfwl_pushbutton.cpp +++ b/xfa/fwl/core/cfwl_pushbutton.cpp @@ -24,11 +24,6 @@ void CFWL_PushButton::Initialize() { CFWL_Widget::Initialize(); } -FWL_Error CFWL_PushButton::GetCaption(CFX_WideString& wsCaption) { - wsCaption = m_wsCaption; - return FWL_Error::Succeeded; -} - FWL_Error CFWL_PushButton::SetCaption(const CFX_WideStringC& wsCaption) { m_wsCaption = wsCaption; return FWL_Error::Succeeded; @@ -43,10 +38,9 @@ FWL_Error CFWL_PushButton::SetPicture(CFX_DIBitmap* pBitmap) { return FWL_Error::Succeeded; } -FWL_Error CFWL_PushButton::GetCaption(IFWL_Widget* pWidget, - CFX_WideString& wsCaption) { +void CFWL_PushButton::GetCaption(IFWL_Widget* pWidget, + CFX_WideString& wsCaption) { wsCaption = m_wsCaption; - return FWL_Error::Succeeded; } CFX_DIBitmap* CFWL_PushButton::GetPicture(IFWL_Widget* pWidget) { |