[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Mar 18 09:38:47 UTC 2016
sw/source/ui/dbui/mmresultdialogs.cxx | 2 +-
sw/source/ui/inc/mmresultdialogs.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6b21f343acc872696037f8981950bfa5b90e37ec
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Mar 18 10:37:53 2016 +0100
sw: fix loplugin:staticmethods in SwMMResultEmailDialog
Change-Id: I1ed72bcf26429d9bc4c4036a56f1fbae6d90d15c
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx
index d12a229..b6e863a 100644
--- a/sw/source/ui/dbui/mmresultdialogs.cxx
+++ b/sw/source/ui/dbui/mmresultdialogs.cxx
@@ -872,7 +872,7 @@ IMPL_LINK_TYPED(SwMMResultEmailDialog, SendTypeHdl_Impl, ListBox&, rBox, void)
}
}
-IMPL_LINK_TYPED(SwMMResultEmailDialog, SendAsHdl_Impl, Button*, /*pButton*/, void)
+IMPL_STATIC_LINK_TYPED(SwMMResultEmailDialog, SendAsHdl_Impl, Button*, /*pButton*/, void)
{
/* TODO FIXME this currently tries to connect to the wizard, fix that, or
instantiate it when needed or something
diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx
index 521bc4d..18f878d 100644
--- a/sw/source/ui/inc/mmresultdialogs.hxx
+++ b/sw/source/ui/inc/mmresultdialogs.hxx
@@ -137,7 +137,7 @@ class SwMMResultEmailDialog : public SfxModalDialog
DECL_LINK_TYPED(CopyToHdl_Impl, Button*, void);
DECL_LINK_TYPED(SendTypeHdl_Impl, ListBox&, void);
- DECL_LINK_TYPED(SendAsHdl_Impl, Button*, void);
+ DECL_STATIC_LINK_TYPED(SwMMResultEmailDialog, SendAsHdl_Impl, Button*, void);
DECL_LINK_TYPED(SendDocumentsHdl_Impl, Button*, void);
DECL_LINK_TYPED(DocumentSelectionHdl_Impl, Button*, void);
More information about the Libreoffice-commits
mailing list