summaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-14 16:34:39 +0200
committerNoel Grandin <noel@peralex.com>2015-08-17 09:59:59 +0200
commit8cf544cb3a71598dcf98e6563b51d2e334c720d3 (patch)
treee645056a4a8dfe9d41083450ae6d7f91d0a273e4 /forms
parentmake Link<> typed (diff)
downloadcore-8cf544cb3a71598dcf98e6563b51d2e334c720d3.tar.gz
core-8cf544cb3a71598dcf98e6563b51d2e334c720d3.zip
convert Link<> to typed
Change-Id: Ib0bf56a0e642720ff5daafdfc2dc12809be87e43
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/clipboarddispatcher.cxx4
-rw-r--r--forms/source/richtext/clipboarddispatcher.hxx2
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 );
};