summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-29 10:51:46 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-29 11:46:10 +0100
commite9a23fd78c7506cc28cdd4619cdb623813e36c61 (patch)
treef1e38399354c3f09382c5559bfdd80126a7e9c27 /desktop
parent43b84c96629e78e17e6a1e51e4c482887197036f (diff)
Introduce com.sun.star.ui.theUIElementFactoryManager singleton.
To replace single-instance com.sun.star.ui.UIElementFactoryManager service. Change-Id: I4262909c4396e3907d271a56696a06903168a58d
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 82c03b4705fa..7c754cfa1864 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -69,7 +69,7 @@
#include <com/sun/star/task/XRestartManager.hpp>
#include <com/sun/star/document/XEventListener.hpp>
#include <com/sun/star/frame/theUICommandDescription.hpp>
-#include <com/sun/star/ui/UIElementFactoryManager.hpp>
+#include <com/sun/star/ui/theUIElementFactoryManager.hpp>
#include <com/sun/star/ui/WindowStateConfiguration.hpp>
#include <com/sun/star/frame/XUIControllerRegistration.hpp>
#include <com/sun/star/frame/thePopupMenuControllerFactory.hpp>
@@ -2185,7 +2185,7 @@ void Desktop::PreloadConfigurationData()
// preload user interface element factories
Sequence< Sequence< css::beans::PropertyValue > > aSeqSeqPropValue;
- Reference< XUIElementFactoryManager > xUIElementFactory = UIElementFactoryManager::create( xContext );
+ Reference< XUIElementFactoryManager > xUIElementFactory = theUIElementFactoryManager::get( xContext );
try
{
aSeqSeqPropValue = xUIElementFactory->getRegisteredFactories();