Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(847)

Unified Diff: xfa/fwl/core/cfwl_pushbutton.cpp

Issue 2488963005: Continue IFWL widget cleanup. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/cfwl_pushbutton.cpp
diff --git a/xfa/fwl/core/cfwl_pushbutton.cpp b/xfa/fwl/core/cfwl_pushbutton.cpp
index 888c1277823827f2ccb6ae36dd54bb5d7ad30574..1fc6191d3d8fdbad4eb1d2fdcd5255ab6e923842 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) {

Powered by Google App Engine
This is Rietveld 408576698