diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-04 20:21:19 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-03-05 09:46:50 +0900 |
commit | 78be86343bc6ee91fffe3b710f7db3a90f1b23ae (patch) | |
tree | f4c48c6c5ac2d85cfe639cc4fac538ad28a31ee1 | |
parent | b73fbf4cf68d61b7b46a3ee488c4ea5c360540bd (diff) |
use "using" to redirect to subclass method in toolbox
Change-Id: Ic07cfef8aa6f27ccc4dce23736a3de1a41698838
-rw-r--r-- | include/vcl/toolbox.hxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index c72c59f25862..7c4799ab9f07 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -493,15 +493,10 @@ public: bool IsCustomize() { return mbCustomize; } bool IsInCustomizeMode() const { return mbCustomizeMode; } - void SetHelpText( const OUString& rText ) - { DockingWindow::SetHelpText( rText ); } - const OUString& GetHelpText() const - { return DockingWindow::GetHelpText(); } - - void SetHelpId( const OString& rId ) - { DockingWindow::SetHelpId( rId ); } - const OString& GetHelpId() const - { return DockingWindow::GetHelpId(); } + using DockingWindow::SetHelpText; + using DockingWindow::GetHelpText; + using DockingWindow::SetHelpId; + using DockingWindow::GetHelpId; void SetClickHdl( const Link& rLink ) { maClickHdl = rLink; } const Link& GetClickHdl() const { return maClickHdl; } |