diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-23 22:34:20 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-30 19:41:53 +0100 |
commit | 3135d820d0172ef5695a4b97cec505e6ad03d67a (patch) | |
tree | 3c548c132cad33356481f22076e453bc475e9101 | |
parent | 124ebc32de32c8619618776b589934bae464711e (diff) |
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@redhat.com>
-rw-r--r-- | include/svtools/accessibilityoptions.hxx | 5 | ||||
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 8 |
2 files changed, 1 insertions, 12 deletions
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(); |