summaryrefslogtreecommitdiff
path: root/sfx2/source/toolbox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
commitbd205223ec029a875c662474bb6d423d3cdd1994 (patch)
tree6531a292edb0d2a13103a4c55cbd10e7137b8a58 /sfx2/source/toolbox
parent32781c2d268ed94eb46318a0398385baf31368c4 (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 'sfx2/source/toolbox')
-rw-r--r--sfx2/source/toolbox/imgmgr.cxx2
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/toolbox/imgmgr.cxx b/sfx2/source/toolbox/imgmgr.cxx
index 068368733f06..75de3629797b 100644
--- a/sfx2/source/toolbox/imgmgr.cxx
+++ b/sfx2/source/toolbox/imgmgr.cxx
@@ -247,7 +247,7 @@ void SfxImageManager_Impl::SetSymbolsSize_Impl( sal_Int16 nNewSymbolsSize )
//-------------------------------------------------------------------------
-IMPL_LINK( SfxImageManager_Impl, OptionsChanged_Impl, void*, EMPTYARG )
+IMPL_LINK_NOARG(SfxImageManager_Impl, OptionsChanged_Impl)
{
SetSymbolsSize_Impl( m_aOpt.GetCurrentSymbolsSize() );
return 0L;
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 1cc71f228c51..53bfee21fddb 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -888,7 +888,7 @@ void SfxToolBoxControl::SetPopupWindow( SfxPopupWindow* pWindow )
//--------------------------------------------------------------------
-IMPL_LINK( SfxToolBoxControl, PopupModeEndHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG(SfxToolBoxControl, PopupModeEndHdl)
{
if ( pImpl->mpPopupWindow->IsVisible() )
{
@@ -1403,7 +1403,7 @@ void SfxPopupWindow::StateChanged(
//--------------------------------------------------------------------
-IMPL_LINK( SfxPopupWindow, Delete, void *, EMPTYARG )
+IMPL_LINK_NOARG(SfxPopupWindow, Delete)
{
if ( m_aDeleteLink.IsSet() )
m_aDeleteLink.Call( this );