diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-14 11:28:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-15 09:37:31 +0200 |
commit | e0714ae393661da231466ee679d1a6f5cd49fe35 (patch) | |
tree | 910be73c75f74d4c62dc881361b1a5a211a34c61 /chart2 | |
parent | 30350f72d8ce9d60ae6c47d602eff90f34bf71a9 (diff) |
convert Link<> to typed
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_DataEditor.cxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/inc/dlg_DataEditor.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
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 |