summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-12 23:25:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-13 09:05:59 +0000
commit5ac8641b12055ac612b81edc0699b5b546606d67 (patch)
treefbc16d954a2b6d432e47901aad5fa49f5aaf9e6b /reportdesign
parentbbfc02d84aa22d051377ff0f0c82b912283b902e (diff)
these OnInvalidateClipboard don't have to be LINKs
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/inc/ReportController.hxx2
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx6
2 files changed, 4 insertions, 4 deletions
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<report::XSection>& _xSection)