diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-09 21:29:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-10 11:25:43 +0200 |
commit | e3ff2da892e528d233e256163d856f4473face41 (patch) | |
tree | 6f83065d2b26d17a342a9898192805b87999d63a /forms | |
parent | a5e8f26a9e7d129b64e4427cefafdcf72fa6ad78 (diff) |
Replace IMPL_STATIC_LINK[_TYPED] with more useful variants
Change-Id: I347eb4655babca809f4141e2f0dfe86077b77c75
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/clickableimage.cxx | 6 | ||||
-rw-r--r-- | forms/source/component/clickableimage.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx index 7ac70bb3e6b0..a0ac4c07a4da 100644 --- a/forms/source/component/clickableimage.cxx +++ b/forms/source/component/clickableimage.cxx @@ -822,10 +822,10 @@ namespace frm } - IMPL_STATIC_LINK( OClickableImageBaseModel, DownloadDoneLink, void*, EMPTYARG ) + IMPL_LINK_NOARG( OClickableImageBaseModel, DownloadDoneLink ) { - ::osl::MutexGuard aGuard( pThis->m_aMutex ); - pThis->DownloadDone(); + ::osl::MutexGuard aGuard( m_aMutex ); + DownloadDone(); return 0; } diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index 60f03b89b920..5033375d6735 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -74,7 +74,7 @@ namespace frm ::com::sun::star::uno::Reference< ::com::sun::star::form::submission::XSubmission > m_xSubmissionDelegate; - DECL_STATIC_LINK( OClickableImageBaseModel, DownloadDoneLink, void* ); + DECL_LINK( DownloadDoneLink, void* ); inline ImageProducer* GetImageProducer() { return m_pProducer; } |