diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-20 07:19:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-20 07:19:43 -0700 |
commit | 73895de7dea3737d1a25801001b8efe186c6f5a3 (patch) | |
tree | 8754626255699818c34d336fccc75926a5958345 /xfa/fwl/core/cfwl_message.h | |
parent | 2a38a02b0492de0576c2e5b5e7d550f969367f9d (diff) | |
download | pdfium-73895de7dea3737d1a25801001b8efe186c6f5a3.tar.xz |
Cleanup unused methods and return values in FWL code.
This CL does an initial pass to remove unused methods and return values
in the FWL code base.
Review-Url: https://chromiumcodereview.appspot.com/2435603003
Diffstat (limited to 'xfa/fwl/core/cfwl_message.h')
-rw-r--r-- | xfa/fwl/core/cfwl_message.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xfa/fwl/core/cfwl_message.h b/xfa/fwl/core/cfwl_message.h index 2bffff0007..0bfafb5a89 100644 --- a/xfa/fwl/core/cfwl_message.h +++ b/xfa/fwl/core/cfwl_message.h @@ -58,7 +58,6 @@ class CFWL_Message { virtual ~CFWL_Message(); virtual CFWL_Message* Clone(); - virtual FWL_Error GetClassName(CFX_WideString& wsClass) const; virtual CFWL_MessageType GetClassID() const; uint32_t Release(); @@ -84,10 +83,6 @@ inline CFWL_Message* CFWL_Message::Clone() { return nullptr; } -inline FWL_Error CFWL_Message::GetClassName(CFX_WideString& wsClass) const { - return FWL_Error::Succeeded; -} - inline CFWL_MessageType CFWL_Message::GetClassID() const { return CFWL_MessageType::None; } @@ -111,7 +106,6 @@ inline CFWL_Message* CFWL_Message::Retain() { classname(); \ ~classname() override; \ CFWL_Message* Clone() override; \ - FWL_Error GetClassName(CFX_WideString& wsClass) const override; \ CFWL_MessageType GetClassID() const override; \ __VA_ARGS__ \ }; @@ -120,10 +114,6 @@ inline CFWL_Message* CFWL_Message::Retain() { inline classname::classname() {} \ inline classname::~classname() {} \ inline CFWL_Message* classname::Clone() { return new classname(*this); } \ - inline FWL_Error classname::GetClassName(CFX_WideString& wsClass) const { \ - wsClass = L## #classname; \ - return FWL_Error::Succeeded; \ - } \ inline CFWL_MessageType classname::GetClassID() const { return msgType; } \ __VA_ARGS__ |