summaryrefslogtreecommitdiff
path: root/avmedia/source/framework
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 /avmedia/source/framework
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 'avmedia/source/framework')
-rw-r--r--avmedia/source/framework/mediacontrol.cxx4
-rw-r--r--avmedia/source/framework/soundhandler.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx
index cdfce1ae0bff..decf7be8f6ee 100644
--- a/avmedia/source/framework/mediacontrol.cxx
+++ b/avmedia/source/framework/mediacontrol.cxx
@@ -480,7 +480,7 @@ IMPL_LINK( MediaControl, implVolumeHdl, Slider*, p )
// ------------------------------------------------------------------------------
-IMPL_LINK( MediaControl, implVolumeEndHdl, Slider*, EMPTYARG )
+IMPL_LINK_NOARG(MediaControl, implVolumeEndHdl)
{
return 0;
}
@@ -603,7 +603,7 @@ IMPL_LINK( MediaControl, implZoomSelectHdl, ListBox*, p )
// ------------------------------------------------------------------------------
-IMPL_LINK( MediaControl, implTimeoutHdl, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(MediaControl, implTimeoutHdl)
{
update();
maTimer.Start();
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index f5403136ab3f..4c8a502e3995 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -445,7 +445,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
@onerror -
@threadsafe yes
*//*-*************************************************************************************************************/
-IMPL_LINK( SoundHandler, implts_PlayerNotify, void*, EMPTYARG )
+IMPL_LINK_NOARG(SoundHandler, implts_PlayerNotify)
{
// SAFE {
::osl::ClearableMutexGuard aLock( m_aLock );