diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-14 16:34:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-17 09:59:59 +0200 |
commit | 8cf544cb3a71598dcf98e6563b51d2e334c720d3 (patch) | |
tree | e645056a4a8dfe9d41083450ae6d7f91d0a273e4 /forms/source/richtext | |
parent | 979b460faf310be202d627ebd31dd87e3308e4b9 (diff) |
convert Link<> to typed
Change-Id: Ib0bf56a0e642720ff5daafdfc2dc12809be87e43
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/clipboarddispatcher.cxx | 4 | ||||
-rw-r--r-- | forms/source/richtext/clipboarddispatcher.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/forms/source/richtext/clipboarddispatcher.cxx b/forms/source/richtext/clipboarddispatcher.cxx index 2905690809b9..84e82be27d43 100644 --- a/forms/source/richtext/clipboarddispatcher.cxx +++ b/forms/source/richtext/clipboarddispatcher.cxx @@ -153,15 +153,13 @@ namespace frm } - IMPL_LINK( OPasteClipboardDispatcher, OnClipboardChanged, TransferableDataHelper*, _pDataHelper ) + IMPL_LINK_TYPED( OPasteClipboardDispatcher, OnClipboardChanged, TransferableDataHelper*, _pDataHelper, void ) { OSL_ENSURE( _pDataHelper, "OPasteClipboardDispatcher::OnClipboardChanged: ooops!" ); m_bPastePossible = _pDataHelper->HasFormat( SotClipboardFormatId::STRING ) || _pDataHelper->HasFormat( SotClipboardFormatId::RTF ); invalidate(); - - return 0L; } diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 16de754ea20c..11706ebf5de2 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -81,7 +81,7 @@ namespace frm virtual void disposing( ::osl::ClearableMutexGuard& _rClearBeforeNotify ) SAL_OVERRIDE; private: - DECL_LINK( OnClipboardChanged, TransferableDataHelper* ); + DECL_LINK_TYPED( OnClipboardChanged, TransferableDataHelper*, void ); }; |