summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/scmod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r--sc/source/ui/app/scmod.cxx7
1 files changed, 1 insertions, 6 deletions
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);