From 19e16083c61c46a9d014b2db79e70194c14dec64 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 29 Jan 2014 18:58:18 +0100 Subject: Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton. Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790 --- svtools/inc/pch/precompiled_svt.hxx | 2 +- svtools/source/misc/acceleratorexecute.cxx | 4 ++-- svtools/source/uno/contextmenuhelper.cxx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'svtools') diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx index cb98da32a284..d5177e45a9a0 100644 --- a/svtools/inc/pch/precompiled_svt.hxx +++ b/svtools/inc/pch/precompiled_svt.hxx @@ -221,7 +221,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/svtools/source/misc/acceleratorexecute.cxx b/svtools/source/misc/acceleratorexecute.cxx index 3d83a9b958fa..92237e2a0f85 100644 --- a/svtools/source/misc/acceleratorexecute.cxx +++ b/svtools/source/misc/acceleratorexecute.cxx @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include @@ -381,7 +381,7 @@ css::uno::Reference< css::ui::XAcceleratorConfiguration > AcceleratorExecute::st { return css::uno::Reference< css::ui::XAcceleratorConfiguration >(); } css::uno::Reference< css::ui::XModuleUIConfigurationManagerSupplier > xUISupplier( - css::ui::ModuleUIConfigurationManagerSupplier::create(rxContext) ); + css::ui::theModuleUIConfigurationManagerSupplier::get(rxContext) ); css::uno::Reference< css::ui::XAcceleratorConfiguration > xAccCfg; try diff --git a/svtools/source/uno/contextmenuhelper.cxx b/svtools/source/uno/contextmenuhelper.cxx index 613266580668..48b10b395b0b 100644 --- a/svtools/source/uno/contextmenuhelper.cxx +++ b/svtools/source/uno/contextmenuhelper.cxx @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -417,7 +417,7 @@ ContextMenuHelper::associateUIConfigurationManagers() aModuleId = xModuleManager->identify( xFrame ); uno::Reference< ui::XModuleUIConfigurationManagerSupplier > xModuleCfgMgrSupplier( - ui::ModuleUIConfigurationManagerSupplier::create( + ui::theModuleUIConfigurationManagerSupplier::get( ::comphelper::getProcessComponentContext() ) ); uno::Reference< ui::XUIConfigurationManager > xUICfgMgr( xModuleCfgMgrSupplier->getUIConfigurationManager( aModuleId )); -- cgit