From e0714ae393661da231466ee679d1a6f5cd49fe35 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 14 Sep 2015 11:28:15 +0200 Subject: convert Link<> to typed Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7 --- chart2/source/controller/dialogs/dlg_DataEditor.cxx | 4 +--- chart2/source/controller/inc/dlg_DataEditor.hxx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx index 13d416fceace..a12497c38ed1 100644 --- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx +++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx @@ -167,14 +167,12 @@ void DataEditor::SetReadOnly( bool bReadOnly ) m_xBrwData->SetReadOnly( m_bReadOnly ); } -IMPL_LINK_NOARG(DataEditor, MiscHdl) +IMPL_LINK_NOARG_TYPED(DataEditor, MiscHdl, LinkParamNone*, void) { SvtMiscOptions aMiscOptions; sal_Int16 nStyle( aMiscOptions.GetToolboxStyle() ); m_pTbxData->SetOutStyle( nStyle ); - - return 0L; } void DataEditor::UpdateData() diff --git a/chart2/source/controller/inc/dlg_DataEditor.hxx b/chart2/source/controller/inc/dlg_DataEditor.hxx index eb49d9238edd..e2c10059e42f 100644 --- a/chart2/source/controller/inc/dlg_DataEditor.hxx +++ b/chart2/source/controller/inc/dlg_DataEditor.hxx @@ -77,7 +77,7 @@ private: /// is called, if the cursor of the table has moved DECL_LINK_TYPED( BrowserCursorMovedHdl, DataBrowser*, void); /// this is called if MiscOptions change, esp. High-Contrast mode - DECL_LINK( MiscHdl, void* ); + DECL_LINK_TYPED( MiscHdl, LinkParamNone*, void ); void UpdateData(); /// moved and resizes the series name control etc. to fit the dimensions of the edit browsebox -- cgit