[Libreoffice-commits] core.git: include/svtools svtools/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 30 18:42:31 UTC 2019
include/svtools/accessibilityoptions.hxx | 5 +----
svtools/source/config/accessibilityoptions.cxx | 8 --------
2 files changed, 1 insertion(+), 12 deletions(-)
New commits:
commit 3135d820d0172ef5695a4b97cec505e6ad03d67a
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Dec 23 22:34:20 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Dec 30 19:41:53 2019 +0100
SvtAccessibilityOptions base SfxListener appears to be unused
Change-Id: I96fa0c6eb7f0510eb8233b98072fd555307f8329
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86011
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/include/svtools/accessibilityoptions.hxx b/include/svtools/accessibilityoptions.hxx
index 6f2aebac5c83..06c24c009d10 100644
--- a/include/svtools/accessibilityoptions.hxx
+++ b/include/svtools/accessibilityoptions.hxx
@@ -20,13 +20,12 @@
#define INCLUDED_SVTOOLS_ACCESSIBILITYOPTIONS_HXX
#include <svtools/svtdllapi.h>
-#include <svl/lstner.hxx>
#include <unotools/options.hxx>
class SvtAccessibilityOptions_Impl;
class SVT_DLLPUBLIC SvtAccessibilityOptions final :
- public utl::detail::Options, private SfxListener
+ public utl::detail::Options
{
private:
static SvtAccessibilityOptions_Impl* sm_pSingleImplConfig;
@@ -43,8 +42,6 @@ public:
bool GetIsAutomaticFontColor() const;
bool IsSelectionInReadonly() const;
- //SfxListener:
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
void SetVCLSettings();
};
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index 315a0333b7b7..43fa4287f9e0 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -28,8 +28,6 @@
#include <comphelper/configurationhelper.hxx>
#include <comphelper/processfactory.hxx>
-#include <svl/hint.hxx>
-
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <rtl/instance.hxx>
@@ -385,12 +383,6 @@ SvtAccessibilityOptions::~SvtAccessibilityOptions()
}
}
-void SvtAccessibilityOptions::Notify( SfxBroadcaster&, const SfxHint& )
-{
- NotifyListeners(ConfigurationHints::NONE);
-}
-
-
bool SvtAccessibilityOptions::GetIsForPagePreviews() const
{
return sm_pSingleImplConfig->GetIsForPagePreviews();
More information about the Libreoffice-commits
mailing list