summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-28 13:22:12 +0200
committerNoel Grandin <noel@peralex.com>2015-08-31 09:50:10 +0200
commit7b096a6da180bb11ffbff15c9a5358c63596cc34 (patch)
treef5330ead159ec348c0aae10855c770804bd4cba8 /forms
parentf144e591f5786f1cac177e4e6eb13795eeda2657 (diff)
make Link<> typed
Change-Id: I8949a92792df892b7f360e6b9979c8f61c702ce3
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/clickableimage.cxx3
-rw-r--r--forms/source/component/clickableimage.hxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index 7490d3953755..e0f8050371e7 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -827,11 +827,10 @@ namespace frm
}
- IMPL_LINK_NOARG( OClickableImageBaseModel, DownloadDoneLink )
+ IMPL_LINK_NOARG_TYPED( OClickableImageBaseModel, DownloadDoneLink, void*, void )
{
::osl::MutexGuard aGuard( m_aMutex );
DownloadDone();
- return 0;
}
diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx
index 7a26a97f8d94..30df1ce2a9c5 100644
--- a/forms/source/component/clickableimage.hxx
+++ b/forms/source/component/clickableimage.hxx
@@ -77,7 +77,7 @@ namespace frm
::com::sun::star::uno::Reference< ::com::sun::star::form::submission::XSubmission >
m_xSubmissionDelegate;
- DECL_LINK( DownloadDoneLink, void* );
+ DECL_LINK_TYPED( DownloadDoneLink, void*, void );
inline ImageProducer* GetImageProducer() { return m_pProducer; }