From 5ac8641b12055ac612b81edc0699b5b546606d67 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 12 Jan 2012 23:25:35 +0000 Subject: these OnInvalidateClipboard don't have to be LINKs --- reportdesign/source/ui/inc/ReportController.hxx | 2 +- reportdesign/source/ui/report/ReportController.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'reportdesign') diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx index 007b42d225fb..fa734c125e15 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -329,7 +329,7 @@ namespace rptui ,const ::com::sun::star::uno::Any& _aValue ,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _aArgs); - DECL_LINK( OnInvalidateClipboard, void* ); + void OnInvalidateClipboard(); DECL_LINK( OnClipboardChanged, void* ); DECL_LINK( OnExecuteReport, void* ); DECL_LINK( OnOpenHelpAgent, void* ); diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 24a44f29cedb..ded47ec89da2 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2369,15 +2369,15 @@ void OReportController::groupChange( const uno::Reference< report::XGroup>& _xGr //------------------------------------------------------------------------------ IMPL_LINK( OReportController, OnClipboardChanged, void*, EMPTYARG ) { - return OnInvalidateClipboard( NULL ); + OnInvalidateClipboard(); + return 0; } //------------------------------------------------------------------------------ -IMPL_LINK(OReportController, OnInvalidateClipboard, void*, EMPTYARG) +void OReportController::OnInvalidateClipboard() { InvalidateFeature(SID_CUT); InvalidateFeature(SID_COPY); InvalidateFeature(SID_PASTE); - return 0L; } // ----------------------------------------------------------------------------- void OReportController::openPageDialog(const uno::Reference& _xSection) -- cgit