summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager/layoutmanager.cxx
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 /framework/source/layoutmanager/layoutmanager.cxx
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 'framework/source/layoutmanager/layoutmanager.cxx')
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index e25d74b7de18..3b4774ca2948 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -2666,7 +2666,7 @@ sal_Bool LayoutManager::implts_resetMenuBar()
return sal_False;
}
-IMPL_LINK( LayoutManager, MenuBarClose, MenuBar *, EMPTYARG )
+IMPL_LINK_NOARG(LayoutManager, MenuBarClose)
{
ReadGuard aReadLock( m_aLock );
uno::Reference< frame::XDispatchProvider > xProvider(m_xFrame, uno::UNO_QUERY);
@@ -2689,7 +2689,7 @@ IMPL_LINK( LayoutManager, MenuBarClose, MenuBar *, EMPTYARG )
return 0;
}
-IMPL_LINK( LayoutManager, SettingsChanged, void*, EMPTYARG )
+IMPL_LINK_NOARG(LayoutManager, SettingsChanged)
{
return 1;
}
@@ -2832,7 +2832,7 @@ void SAL_CALL LayoutManager::windowHidden( const lang::EventObject& aEvent ) thr
}
}
-IMPL_LINK( LayoutManager, AsyncLayoutHdl, Timer *, EMPTYARG )
+IMPL_LINK_NOARG(LayoutManager, AsyncLayoutHdl)
{
ReadGuard aReadLock( m_aLock );
m_aAsyncLayoutTimer.Stop();