diff options
author | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2023-12-17 14:13:23 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-12-24 22:39:48 +0100 |
commit | 4b818d79f9ba340e27c568bb1531e77e153c8eca (patch) | |
tree | 2982219b99eb6b312892c42cbed385ff2dd2da48 /sc | |
parent | a89a42e55f2b154c8b276fe08fcf02c4b9fc0945 (diff) |
Remove listeners of SvtAccessibilityOptions
This class no longer notifies listeners since 2019
commit 3135d820d0172ef5695a4b97cec505e6ad03d67a
so presumably the listeners can be dropped as well.
The sd part tried to execute SID commands which seem
to be removed since 2004
commit f77ad7f15f53526714518bb3562ba7de4ba0d45e
Change-Id: I81d234aabe10b53278c89ffd846240507854d0c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161237
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/scmod.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx index f95da4a46280..fe318c63e8b7 100644 --- a/sc/inc/scmod.hxx +++ b/sc/inc/scmod.hxx @@ -37,7 +37,6 @@ class KeyEvent; class EditView; class SfxErrorHandler; -class SvtAccessibilityOptions; class SvtCTLOptions; class SvtUserOptions; @@ -94,7 +93,6 @@ class SAL_DLLPUBLIC_RTTI ScModule final : public SfxModule, public SfxListener, std::unique_ptr<ScNavipiCfg> m_pNavipiCfg; std::unique_ptr<ScAddInCfg> m_pAddInCfg; std::unique_ptr<svtools::ColorConfig> m_pColorConfig; - std::unique_ptr<SvtAccessibilityOptions> m_pAccessOptions; std::unique_ptr<SvtCTLOptions> m_pCTLOptions; std::unique_ptr<SvtUserOptions> m_pUserOptions; std::unique_ptr<SfxErrorHandler> m_pErrorHdl; diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 3fa3a7849b22..d31cfc675b64 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -176,7 +176,7 @@ ScModule::~ScModule() void ScModule::ConfigurationChanged(utl::ConfigurationBroadcaster* p, ConfigurationHints eHints) { - if ( p == m_pColorConfig.get() || p == m_pAccessOptions.get() ) + if ( p == m_pColorConfig.get() ) { // Test if detective objects have to be updated with new colors // (if the detective colors haven't been used yet, there's nothing to update) @@ -341,11 +341,6 @@ void ScModule::DeleteCfg() m_pColorConfig->RemoveListener(this); m_pColorConfig.reset(); } - if ( m_pAccessOptions ) - { - m_pAccessOptions->RemoveListener(this); - m_pAccessOptions.reset(); - } if ( m_pCTLOptions ) { m_pCTLOptions->RemoveListener(this); |