summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshowimpl.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 /sd/source/ui/slideshow/slideshowimpl.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 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index d61899415384..bc8b3bae51e4 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1448,7 +1448,7 @@ void SlideshowImpl::endPresentation()
// ---------------------------------------------------------
-IMPL_LINK( SlideshowImpl, endPresentationHdl, void*, EMPTYARG )
+IMPL_LINK_NOARG(SlideshowImpl, endPresentationHdl)
{
mnEndShowEvent = 0;
@@ -1834,7 +1834,7 @@ void SlideshowImpl::startUpdateTimer()
This is used to unfreeze user input that was disabled after
slide change to skip input that was buffered during slide
transition preperation */
-IMPL_LINK( SlideshowImpl, ReadyForNextInputHdl, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(SlideshowImpl, ReadyForNextInputHdl)
{
mbInputFreeze = false;
return 0;
@@ -1846,7 +1846,7 @@ IMPL_LINK( SlideshowImpl, ReadyForNextInputHdl, Timer*, EMPTYARG )
and not by using the timer, I will personaly punish this
person seriously, even if this person is me.
*/
-IMPL_LINK( SlideshowImpl, updateHdl, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(SlideshowImpl, updateHdl)
{
mnUpdateEvent = 0;
@@ -1856,7 +1856,7 @@ IMPL_LINK( SlideshowImpl, updateHdl, Timer*, EMPTYARG )
-IMPL_LINK( SlideshowImpl, PostYieldListener, void*, EMPTYARG )
+IMPL_LINK_NOARG(SlideshowImpl, PostYieldListener)
{
// prevent me from deletion when recursing (App::Reschedule does)
const rtl::Reference<SlideshowImpl> this_(this);
@@ -2162,7 +2162,7 @@ void SlideshowImpl::mouseButtonUp(const MouseEvent& rMEvt)
// ---------------------------------------------------------
-IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
+IMPL_LINK_NOARG(SlideshowImpl, ContextMenuHdl)
{
mnContextMenuEvent = 0;
@@ -2764,7 +2764,7 @@ void SAL_CALL SlideshowImpl::deactivate() throw (RuntimeException)
// -----------------------------------------------------------------------------
-IMPL_LINK( SlideshowImpl, deactivateHdl, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(SlideshowImpl, deactivateHdl)
{
if( mbActive && mxShow.is() )
{