summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-10 11:24:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-10 12:06:16 +0200
commit6dc42c82bade7ed1cf2cf142ab9137ad8f98e188 (patch)
tree489b02b29518b64bd0476da720045a6aa1610969 /reportdesign
parent892cb24be673e8441a75bdde950c2087a24bdf74 (diff)
Use IMPL_LINK_NOARG[_TYPED] where applicable
Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/AddField.cxx4
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.cxx4
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx2
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx4
-rw-r--r--reportdesign/source/ui/report/propbrw.cxx2
5 files changed, 8 insertions, 8 deletions
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx
index 7924a17dd102..657479acd56b 100644
--- a/reportdesign/source/ui/dlg/AddField.cxx
+++ b/reportdesign/source/ui/dlg/AddField.cxx
@@ -494,14 +494,14 @@ void OAddFieldWindow::_elementReplaced( const container::ContainerEvent& /*_rEve
{
}
-IMPL_LINK( OAddFieldWindow, OnSelectHdl, void* ,/*_pAddFieldDlg*/)
+IMPL_LINK_NOARG( OAddFieldWindow, OnSelectHdl )
{
m_aActions->EnableItem(SID_ADD_CONTROL_PAIR, ( m_pListBox.get() && m_pListBox->GetSelectionCount() > 0 ));
return 0L;
}
-IMPL_LINK( OAddFieldWindow, OnDoubleClickHdl, void* ,/*_pAddFieldDlg*/)
+IMPL_LINK_NOARG( OAddFieldWindow, OnDoubleClickHdl )
{
if ( m_aCreateLink.IsSet() )
m_aCreateLink.Call(this);
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx
index 3bea4c01bbc1..839fa91abfde 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -871,7 +871,7 @@ void OFieldExpressionControl::paste()
}
}
-IMPL_LINK( OFieldExpressionControl, DelayedPaste, void*, )
+IMPL_LINK_NOARG( OFieldExpressionControl, DelayedPaste )
{
m_nPasteEvent = 0;
@@ -884,7 +884,7 @@ IMPL_LINK( OFieldExpressionControl, DelayedPaste, void*, )
return 0;
}
-IMPL_LINK( OFieldExpressionControl, DelayedDelete, void*, )
+IMPL_LINK_NOARG( OFieldExpressionControl, DelayedDelete )
{
m_nDeleteEvent = 0;
DeleteRows();
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index 4ddada521fd6..aaa341497fda 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -406,7 +406,7 @@ void ODesignView::ImplInitSettings()
SetTextFillColor( Application::GetSettings().GetStyleSettings().GetFaceColor() );
}
-IMPL_LINK( ODesignView, SplitHdl, void*, )
+IMPL_LINK_NOARG( ODesignView, SplitHdl )
{
const Size aOutputSize = GetOutputSizePixel();
const long nTest = aOutputSize.Width() * m_aSplitWin->GetItemSize(TASKPANE_ID) / 100;
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index 39a3979417ea..486c2713ecc5 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -1747,7 +1747,7 @@ void OReportController::impl_initialize( )
}
}
-IMPL_LINK( OReportController, OnOpenHelpAgent, void* ,/*_pMemfun*/)
+IMPL_LINK_NOARG( OReportController, OnOpenHelpAgent )
{
doOpenHelpAgent();
return 0L;
@@ -3149,7 +3149,7 @@ void OReportController::createNewFunction(const uno::Any& _aValue)
xFunctions->insertByIndex(xFunctions->getCount(),uno::makeAny(xFunction));
}
-IMPL_LINK( OReportController, OnExecuteReport, void* ,/*_pMemfun*/)
+IMPL_LINK_NOARG( OReportController, OnExecuteReport )
{
executeReport();
return 0L;
diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx
index 941979199fdc..ba805f1163ee 100644
--- a/reportdesign/source/ui/report/propbrw.cxx
+++ b/reportdesign/source/ui/report/propbrw.cxx
@@ -569,7 +569,7 @@ void PropBrw::Update( const uno::Reference< uno::XInterface>& _xReportComponent)
}
}
-IMPL_LINK( PropBrw, OnAsyncGetFocus, void*, )
+IMPL_LINK_NOARG( PropBrw, OnAsyncGetFocus )
{
if (m_xBrowserComponentWindow.is())
m_xBrowserComponentWindow->setFocus();