diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 09:39:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 09:39:27 +0200 |
commit | d29aeee806991a1439697c255b95db111230e262 (patch) | |
tree | 960e360335f85b8f9470ca2683b285c705462760 /cui | |
parent | 022331e8ddfa1b0b95cba66a322fb244b4c1cad0 (diff) |
loplugin:staticmethods
Change-Id: I8eb65173d7bf71a829b8c1d8451dbbc7d81a8d38
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 5 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 2481d4886b37..8e9f09476684 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -4749,7 +4749,6 @@ SvxNewToolbarDialog::SvxNewToolbarDialog(vcl::Window* pWindow, const OUString& r get(m_pSaveInListBox, "savein"); m_pEdtName->SetText( rName ); m_pEdtName->SetSelection(Selection(SELECTION_MIN, SELECTION_MAX)); - ModifyHdl(m_pEdtName); m_pEdtName->SetModifyHdl(LINK(this, SvxNewToolbarDialog, ModifyHdl)); } @@ -4767,10 +4766,8 @@ void SvxNewToolbarDialog::dispose() } -IMPL_LINK(SvxNewToolbarDialog, ModifyHdl, Edit*, pEdit) +IMPL_STATIC_LINK_NOARG(SvxNewToolbarDialog, ModifyHdl) { - (void)pEdit; - return 0; } diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 6a0a9cabbd9e..206c0834e75c 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -666,7 +666,7 @@ private: VclPtr<Edit> m_pEdtName; VclPtr<OKButton> m_pBtnOK; - DECL_LINK(ModifyHdl, Edit*); + DECL_STATIC_LINK(SvxNewToolbarDialog, ModifyHdl, void *); public: SvxNewToolbarDialog(vcl::Window* pWindow, const OUString& rName); |