summaryrefslogtreecommitdiff
path: root/reportdesign
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 /reportdesign
parent979b460faf310be202d627ebd31dd87e3308e4b9 (diff)
convert Link<> to typed
Change-Id: Ib0bf56a0e642720ff5daafdfc2dc12809be87e43
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/inc/ReportController.hxx2
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx
index cd1d26f972a3..4c85a2c3159a 100644
--- a/reportdesign/source/ui/inc/ReportController.hxx
+++ b/reportdesign/source/ui/inc/ReportController.hxx
@@ -315,7 +315,7 @@ namespace rptui
,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _aArgs);
void OnInvalidateClipboard();
- DECL_LINK( OnClipboardChanged, void* );
+ DECL_LINK_TYPED( OnClipboardChanged, TransferableDataHelper*, void );
DECL_LINK( OnExecuteReport, void* );
DECL_LINK( OnOpenHelpAgent, void* );
// all the features which should be handled by this class
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index 38c4c9a9549e..0e304d561a27 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -2342,10 +2342,9 @@ void OReportController::groupChange( const uno::Reference< report::XGroup>& _xGr
}
}
-IMPL_LINK_NOARG(OReportController, OnClipboardChanged)
+IMPL_LINK_NOARG_TYPED(OReportController, OnClipboardChanged, TransferableDataHelper*, void)
{
OnInvalidateClipboard();
- return 0;
}
void OReportController::OnInvalidateClipboard()