diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-29 14:23:52 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-30 10:48:24 +0100 |
commit | b3856b0e096cb5d791fbe8a7d5b6c0319ab546bb (patch) | |
tree | 1ebd46b449e0da8953ff9b8c0a0975febd9ba2a5 /sfx2 | |
parent | 823c2b18f14c0fdd817b62e95b13f1c7e0d38a9d (diff) |
Introduce com.sun.star.ui.theWindowContentFactoryManager singleton.
Change-Id: If979db945b2f5e50e146fdadafd1559530c50122
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/pch/precompiled_sfx.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index 9d715a6e775d..5a6b6c1823f4 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -445,7 +445,7 @@ #include <com/sun/star/ui/UIConfigurationManager.hpp> #include <com/sun/star/ui/theUIElementFactoryManager.hpp> #include <com/sun/star/ui/UIElementType.hpp> -#include <com/sun/star/ui/WindowContentFactoryManager.hpp> +#include <com/sun/star/ui/theWindowContentFactoryManager.hpp> #include <com/sun/star/ui/WindowStateConfiguration.hpp> #include <com/sun/star/ui/XDockingAreaAcceptor.hpp> #include <com/sun/star/ui/XImageManager.hpp> diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index 4c9670197718..5b73ec158ea7 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -46,7 +46,7 @@ #include <com/sun/star/frame/ModuleManager.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/ui/WindowStateConfiguration.hpp> -#include <com/sun/star/ui/WindowContentFactoryManager.hpp> +#include <com/sun/star/ui/theWindowContentFactoryManager.hpp> #define MAX_TOGGLEAREA_WIDTH 20 #define MAX_TOGGLEAREA_HEIGHT 20 @@ -139,7 +139,7 @@ SfxDockingWrapper::SfxDockingWrapper( Window* pParentWnd , // Use factory manager to retrieve XWindow factory. That can be used to instantiate // the real window factory. - uno::Reference< lang::XSingleComponentFactory > xFactoryMgr = ui::WindowContentFactoryManager::create(xContext); + uno::Reference< lang::XSingleComponentFactory > xFactoryMgr = ui::theWindowContentFactoryManager::get(xContext); SfxDispatcher* pDispatcher = pBindings->GetDispatcher(); uno::Reference< frame::XFrame > xFrame( pDispatcher->GetFrame()->GetFrame().GetFrameInterface(), uno::UNO_QUERY ); |