[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Mar 18 09:27:46 UTC 2016


 sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4d20d9c78d09ef9cb7e94e92c061c82af2ef133d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Mar 18 10:26:06 2016 +0100

    sw: fix loplugin:staticmethods
    
    Change-Id: Ideeb944b6803563ef766e9ef568546349db2e15e

diff --git a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
index 8eccfda..1ad588b 100644
--- a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
+++ b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
@@ -109,7 +109,7 @@ class MMExcludeEntryController : public svt::ToolboxController, public lang::XSe
 {
     VclPtr<CheckBox> m_pExcludeCheckbox;
 
-    DECL_LINK_TYPED(ExcludeHdl, CheckBox&, void);
+    DECL_STATIC_LINK_TYPED(MMExcludeEntryController, ExcludeHdl, CheckBox&, void);
 
 public:
     MMExcludeEntryController(const uno::Reference<uno::XComponentContext>& rContext)
@@ -274,7 +274,7 @@ uno::Reference<awt::XWindow> MMExcludeEntryController::createItemWindow(const un
     return uno::Reference<awt::XWindow>(VCLUnoHelper::GetInterface(m_pExcludeCheckbox));
 }
 
-IMPL_LINK_TYPED(MMExcludeEntryController, ExcludeHdl, CheckBox&, rCheckbox, void)
+IMPL_STATIC_LINK_TYPED(MMExcludeEntryController, ExcludeHdl, CheckBox&, rCheckbox, void)
 {
     SwView* pView = ::GetActiveView();
     SwMailMergeConfigItem* pConfigItem = pView->GetMailMergeConfigItem();


More information about the Libreoffice-commits mailing list