diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 16:57:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 16:57:49 +0200 |
commit | 7fabc2300bc7255c839eb42c2185cad92029009d (patch) | |
tree | 760dc6cd40ec8b332595f8af2b38c6c6464d2e88 | |
parent | 7b2367f868778739fba382a68a35248904cc9565 (diff) |
loplugin:staticmethods
Change-Id: I33d722c27d85732d23510ebaaaba0b8792d0d61d
-rw-r--r-- | sd/source/ui/dlg/navigatr.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/inc/navigatr.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index ec19ebfc2104..1f891e580ea1 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -313,7 +313,8 @@ IMPL_LINK_NOARG_TYPED(SdNavigatorWin, SelectToolboxHdl, ToolBox *, void) } } -IMPL_LINK_NOARG_TYPED(SdNavigatorWin, ClickToolboxHdl, ToolBox *, void) +IMPL_STATIC_LINK_NOINSTANCE_NOARG_TYPED( + SdNavigatorWin, ClickToolboxHdl, ToolBox *, void) {} IMPL_LINK_TYPED( SdNavigatorWin, DropdownClickToolBoxHdl, ToolBox*, pBox, void ) diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx index 77b7a7e6313a..e16e21e3aa9f 100644 --- a/sd/source/ui/inc/navigatr.hxx +++ b/sd/source/ui/inc/navigatr.hxx @@ -146,7 +146,7 @@ private: DECL_LINK( GetFocusObjectsHdl, void * ); DECL_LINK_TYPED( SelectToolboxHdl, ToolBox *, void ); - DECL_LINK_TYPED(ClickToolboxHdl, ToolBox *, void); + DECL_STATIC_LINK_TYPED(SdNavigatorWin, ClickToolboxHdl, ToolBox *, void); DECL_LINK_TYPED( DropdownClickToolBoxHdl, ToolBox *, void ); DECL_LINK( ClickPageHdl, void * ); DECL_LINK( ClickObjectHdl, void * ); |