summaryrefslogtreecommitdiff
path: root/avmedia
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
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')
-rw-r--r--avmedia/inc/mediacontrol.hxx4
-rw-r--r--avmedia/source/framework/mediacontrol.cxx4
-rw-r--r--avmedia/source/framework/soundhandler.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/avmedia/inc/mediacontrol.hxx b/avmedia/inc/mediacontrol.hxx
index 45f0fdf55f88..5570eb1a8bde 100644
--- a/avmedia/inc/mediacontrol.hxx
+++ b/avmedia/inc/mediacontrol.hxx
@@ -89,10 +89,10 @@ private:
DECL_LINK( implTimeHdl, Slider* );
DECL_LINK( implTimeEndHdl, Slider* );
DECL_LINK( implVolumeHdl, Slider* );
- DECL_LINK( implVolumeEndHdl, Slider* );
+ DECL_LINK(implVolumeEndHdl, void *);
DECL_LINK( implSelectHdl, ToolBox* );
DECL_LINK( implZoomSelectHdl, ListBox* );
- DECL_LINK( implTimeoutHdl, Timer* );
+ DECL_LINK(implTimeoutHdl, void *);
ImageList maImageList;
Timer maTimer;
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 );