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/sidebar | |
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/sidebar')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 357c5456c4fe..8d86e65132c1 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -47,7 +47,7 @@ #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ui/ContextChangeEventMultiplexer.hpp> #include <com/sun/star/ui/ContextChangeEventObject.hpp> -#include <com/sun/star/ui/UIElementFactoryManager.hpp> +#include <com/sun/star/ui/theUIElementFactoryManager.hpp> #include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/util/URL.hpp> #include <com/sun/star/rendering/XSpriteCanvas.hpp> @@ -761,7 +761,7 @@ Reference<ui::XUIElement> SidebarController::CreateUIElement ( { const Reference<XComponentContext> xComponentContext (::comphelper::getProcessComponentContext() ); const Reference<ui::XUIElementFactory> xUIElementFactory = - ui::UIElementFactoryManager::create( xComponentContext ); + ui::theUIElementFactoryManager::get( xComponentContext ); // Create the XUIElement. ::comphelper::NamedValueCollection aCreationArguments; |