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 --- framework/source/uifactory/menubarfactory.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'framework/source/uifactory') diff --git a/framework/source/uifactory/menubarfactory.cxx b/framework/source/uifactory/menubarfactory.cxx index cbda3ce4d6fc..b9739602839a 100644 --- a/framework/source/uifactory/menubarfactory.cxx +++ b/framework/source/uifactory/menubarfactory.cxx @@ -28,8 +28,7 @@ #include #include #include -#include - +#include #include #include @@ -150,7 +149,7 @@ void MenuBarFactory::CreateUIElement(const OUString& ResourceURL if ( !aModuleIdentifier.isEmpty() ) { Reference< XModuleUIConfigurationManagerSupplier > xModuleCfgSupplier = - ModuleUIConfigurationManagerSupplier::create( _rxContext ); + theModuleUIConfigurationManagerSupplier::get( _rxContext ); xCfgMgr = xModuleCfgSupplier->getUIConfigurationManager( aModuleIdentifier ); bHasSettings = xCfgMgr->hasSettings( aResourceURL ); } -- cgit