diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
commit | bd205223ec029a875c662474bb6d423d3cdd1994 (patch) | |
tree | 6531a292edb0d2a13103a4c55cbd10e7137b8a58 /framework/inc/uielement/toolbarmanager.hxx | |
parent | 32781c2d268ed94eb46318a0398385baf31368c4 (diff) |
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
Diffstat (limited to 'framework/inc/uielement/toolbarmanager.hxx')
-rw-r--r-- | framework/inc/uielement/toolbarmanager.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 2f8ad0564f3b..98430b97b286 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -165,19 +165,19 @@ class ToolBarManager : public ::com::sun::star::frame::XFrameActionListener DECL_LINK( Command, CommandEvent * ); PopupMenu * GetToolBarCustomMenu(ToolBox* pToolBar); //end - DECL_LINK( Click, ToolBox * ); - DECL_LINK( DropdownClick, ToolBox * ); - DECL_LINK( DoubleClick, ToolBox * ); - DECL_LINK( Select, ToolBox * ); - DECL_LINK( Activate, ToolBox * ); - DECL_LINK( Deactivate, ToolBox * ); + DECL_LINK(Click, void *); + DECL_LINK(DropdownClick, void *); + DECL_LINK(DoubleClick, void *); + DECL_LINK(Select, void *); + DECL_LINK(Activate, void *); + DECL_LINK(Deactivate, void *); DECL_LINK( StateChanged, StateChangedType* ); DECL_LINK( DataChanged, DataChangedEvent* ); DECL_LINK( MenuButton, ToolBox * ); DECL_LINK( MenuSelect, Menu * ); DECL_LINK( MenuDeactivate, Menu * ); - DECL_LINK( AsyncUpdateControllersHdl, Timer * ); + DECL_LINK(AsyncUpdateControllersHdl, void *); DECL_STATIC_LINK( ToolBarManager, ExecuteHdl_Impl, ExecuteInfo* ); virtual bool MenuItemAllowed( sal_uInt16 ) const; |