diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-29 10:51:46 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-29 11:46:10 +0100 |
commit | e9a23fd78c7506cc28cdd4619cdb623813e36c61 (patch) | |
tree | f1e38399354c3f09382c5559bfdd80126a7e9c27 /sfx2/source/toolbox/tbxitem.cxx | |
parent | 43b84c96629e78e17e6a1e51e4c482887197036f (diff) |
Introduce com.sun.star.ui.theUIElementFactoryManager singleton.
To replace single-instance com.sun.star.ui.UIElementFactoryManager
service.
Change-Id: I4262909c4396e3907d271a56696a06903168a58d
Diffstat (limited to 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 3ff970a2cc7c..99dc1f0b7a6d 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -47,7 +47,7 @@ #include <com/sun/star/frame/XModuleManager.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/ui/XUIFunctionListener.hpp> -#include <com/sun/star/ui/UIElementFactoryManager.hpp> +#include <com/sun/star/ui/theUIElementFactoryManager.hpp> #include <com/sun/star/frame/status/Visibility.hpp> #include <svl/eitem.hxx> #include <svl/stritem.hxx> @@ -797,7 +797,7 @@ void SfxToolBoxControl::createAndPositionSubToolBar( const OUString& rSubToolBar xUIElementFactory = xWeakUIElementFactory; if ( !xUIElementFactory.is() ) { - xUIElementFactory = UIElementFactoryManager::create( m_xContext ); + xUIElementFactory = theUIElementFactoryManager::get( m_xContext ); xWeakUIElementFactory = xUIElementFactory; } |