[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 26 08:52:54 UTC 2018
sw/source/ui/dialog/swdlgfact.cxx | 12 ------------
sw/source/ui/dialog/swdlgfact.hxx | 13 -------------
2 files changed, 25 deletions(-)
New commits:
commit 651cdec1aeb020374ce13423c628b02776d6934e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 24 14:54:41 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Nov 26 09:52:30 2018 +0100
AbstractApplyTabDialog_Impl is now unused
Change-Id: I6c0ab3ee8cadfd5eeb0aa6bd7828715401568e2b
Reviewed-on: https://gerrit.libreoffice.org/63986
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx
index dee9cc849fe2..6cba9c300ebd 100644
--- a/sw/source/ui/dialog/swdlgfact.cxx
+++ b/sw/source/ui/dialog/swdlgfact.cxx
@@ -301,18 +301,6 @@ void AbstractTabController_Impl::SetText( const OUString& rStr )
m_xDlg->set_title(rStr);
}
-IMPL_LINK_NOARG(AbstractApplyTabDialog_Impl, ApplyHdl, Button*, void)
-{
- if (pDlg->Apply())
- m_aHandler.Call(nullptr);
-}
-
-void AbstractApplyTabDialog_Impl::SetApplyHdl( const Link<LinkParamNone*,void>& rLink )
-{
- m_aHandler = rLink;
- pDlg->SetApplyHandler(LINK(this, AbstractApplyTabDialog_Impl, ApplyHdl));
-}
-
IMPL_LINK_NOARG(AbstractApplyTabController_Impl, ApplyHdl, weld::Button&, void)
{
if (m_xDlg->Apply())
diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx
index e536b0c91aa8..20af94170204 100644
--- a/sw/source/ui/dialog/swdlgfact.hxx
+++ b/sw/source/ui/dialog/swdlgfact.hxx
@@ -264,19 +264,6 @@ public:
virtual void SetText( const OUString& rStr ) override;
};
-class AbstractApplyTabDialog_Impl : public AbstractTabDialog_Impl, virtual public SfxAbstractApplyTabDialog
-{
-public:
- explicit AbstractApplyTabDialog_Impl( SfxTabDialog* p)
- : AbstractTabDialog_Impl(p)
- {
- }
- DECL_LINK(ApplyHdl, Button*, void);
-private:
- Link<LinkParamNone*,void> m_aHandler;
- virtual void SetApplyHdl( const Link<LinkParamNone*,void>& rLink ) override;
-};
-
class AbstractApplyTabController_Impl : public AbstractTabController_Impl, virtual public SfxAbstractApplyTabDialog
{
public:
More information about the Libreoffice-commits
mailing list