summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-02-19 09:48:33 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2017-02-21 01:39:53 +0200
commit7e559e549528686d431056bd1bbbc9c0a0bfb304 (patch)
treea61008ce25e1740da8ee791414023a6f3e1a5fff /framework/source/uiconfiguration
parent096637c9570654437e9f5e12a614fdcefc23ae3a (diff)
Revert "Resolves: #i120029# Unregister on dispose."
This reverts commit 11f8e53d6c9942185702552445a751c6f542942d. At the time this commit was imported from AOO, we had the original problem fixed already with dd8fa7c25af9614dbee5a7795b95d8583093f65b ("fix more lifecycle problems"). Change-Id: Id8288d30c1cb908b68e5b9ef0279237412aae357
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r--framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index 3543f2e7f2fa..995034248b9d 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -940,9 +940,6 @@ void SAL_CALL ModuleUIConfigurationManager::dispose()
SolarMutexClearableGuard aGuard;
Reference< XComponent > xModuleImageManager( m_xModuleImageManager );
m_xModuleImageManager.clear();
- Reference< XComponent > xCompMAM( m_xModuleAcceleratorManager, UNO_QUERY );
- if ( xCompMAM.is() )
- xCompMAM->dispose();
m_xModuleAcceleratorManager.clear();
m_aUIElements[LAYER_USERDEFINED].clear();
m_aUIElements[LAYER_DEFAULT].clear();