diff options
Diffstat (limited to 'framework/source/accelerators/globalacceleratorconfiguration.cxx')
-rw-r--r-- | framework/source/accelerators/globalacceleratorconfiguration.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx index 5648c917653c..ba5a2e407b8e 100644 --- a/framework/source/accelerators/globalacceleratorconfiguration.cxx +++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx @@ -69,9 +69,6 @@ public: return {"com.sun.star.ui.GlobalAcceleratorConfiguration"}; } - // XComponent - virtual void SAL_CALL dispose() override; - /// This has to be called after when the instance is acquire()'d. void fillCache(); @@ -114,22 +111,6 @@ void GlobalAcceleratorConfiguration::fillCache() {} } -// XComponent.dispose(), #i120029#, to release the cyclic reference - -void SAL_CALL GlobalAcceleratorConfiguration::dispose() -{ - try - { - css::uno::Reference< css::util::XChangesNotifier > xBroadcaster(m_xCfg, css::uno::UNO_QUERY_THROW); - if ( xBroadcaster.is() ) - xBroadcaster->removeChangesListener(static_cast< css::util::XChangesListener* >(this)); - } - catch(const css::uno::RuntimeException&) - { throw; } - catch(const css::uno::Exception&) - {} -} - } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL |