summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/filedlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-05 09:59:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-05 12:05:38 +0200
commitc9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a (patch)
tree2cb864a67b556f807ba175507296f7dfc5254944 /sd/source/ui/dlg/filedlg.cxx
parent8c4a1663f5d93380268365d35a5581d8065df897 (diff)
Use typed Idle::SetIdleHdl Link
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
Diffstat (limited to 'sd/source/ui/dlg/filedlg.cxx')
-rw-r--r--sd/source/ui/dlg/filedlg.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx
index ae7c5da3b28d..27d69ec7d524 100644
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -62,7 +62,7 @@ private:
Idle maUpdateIdle;
- DECL_LINK( IsMusicStoppedHdl, void * );
+ DECL_LINK_TYPED( IsMusicStoppedHdl, Idle *, void );
public:
SdFileDialog_Imp( const short nDialogType, bool bUsableSelection );
@@ -163,7 +163,7 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, PlayMusicHdl)
return 0;
}
-IMPL_LINK_NOARG(SdFileDialog_Imp, IsMusicStoppedHdl)
+IMPL_LINK_NOARG_TYPED(SdFileDialog_Imp, IsMusicStoppedHdl, Idle *, void)
{
SolarMutexGuard aGuard;
@@ -173,7 +173,7 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, IsMusicStoppedHdl)
)
{
maUpdateIdle.Start();
- return 0L;
+ return;
}
if( mxControlAccess.is() )
@@ -191,8 +191,6 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, IsMusicStoppedHdl)
#endif
}
}
-
- return 0L;
}
// check whether to disable the "selection" checkbox