diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 19:11:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 19:15:32 +0200 |
commit | 5eb6bd4db7fb3d43672c386ac9cde58e981c8aa2 (patch) | |
tree | dadf670246d763449c3bacef4acfdd2c6251d198 /chart2 | |
parent | e6fa865b4d5c7eb0576f7b1510077bca081ce4fb (diff) |
lopluign:staticmethods: Handle DECL_LINK
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_DataEditor.cxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/tp_Scale.cxx | 3 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/tp_Scale.hxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/inc/dlg_DataEditor.hxx | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx index 683a4c907345..4ccae7b9f702 100644 --- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx +++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx @@ -180,7 +180,7 @@ IMPL_LINK_NOARG(DataEditor, MiscHdl) return 0L; } -IMPL_LINK_NOARG(DataEditor, CellModified) +IMPL_STATIC_LINK_NOINSTANCE_NOARG(DataEditor, CellModified) { return 0; } diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index cca20e82289e..b62fec755d5d 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -157,7 +157,8 @@ void ScaleTabPage::dispose() SfxTabPage::dispose(); } -IMPL_LINK( ScaleTabPage, FmtFieldModifiedHdl, FormattedField*, pFmtFied ) +IMPL_STATIC_LINK_NOINSTANCE( + ScaleTabPage, FmtFieldModifiedHdl, FormattedField*, pFmtFied ) { if( pFmtFied ) pFmtFied->SetDefaultValue( pFmtFied->GetValue() ); diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx index 2f5a66c6c1dd..959e831dbe26 100644 --- a/chart2/source/controller/dialogs/tp_Scale.hxx +++ b/chart2/source/controller/dialogs/tp_Scale.hxx @@ -101,7 +101,7 @@ private: DECL_LINK( SelectAxisTypeHdl, void* ); DECL_LINK( EnableValueHdl, CheckBox* ); - DECL_LINK( FmtFieldModifiedHdl, FormattedField* ); + DECL_STATIC_LINK( ScaleTabPage, FmtFieldModifiedHdl, FormattedField* ); /** shows a warning window due to an invalid input. diff --git a/chart2/source/controller/inc/dlg_DataEditor.hxx b/chart2/source/controller/inc/dlg_DataEditor.hxx index a32c6d8a372a..82d7500881e7 100644 --- a/chart2/source/controller/inc/dlg_DataEditor.hxx +++ b/chart2/source/controller/inc/dlg_DataEditor.hxx @@ -80,7 +80,7 @@ private: /// this is called if MiscOptions change, esp. High-Contrast mode DECL_LINK( MiscHdl, void* ); /// is called when the contents of the edit cell changes - DECL_LINK( CellModified, void* ); + DECL_STATIC_LINK( DataEditor, CellModified, void* ); /// is called when the width of any column in the edit browsebox has changed DECL_LINK( BrowserColumnResized, void* ); /// is called when the browser view was scrolled, @todo: only call on horizontal scroll |