diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-21 15:11:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-22 15:19:52 +0200 |
commit | 1a2ab98ab809a13cb01a33de15fb288c76103e5e (patch) | |
tree | bb4798ba89b70941113c91ada671b391509450d1 /framework/inc/uielement | |
parent | 122e4bc598e2d7d1a3e5cef4c45cda94ca7cfd9b (diff) |
fdo#46808, Convert XMultiServiceFactory to XComponentContext
Change-Id: I4325e553d010bb93794f897b41a602a5f849d4a6
Diffstat (limited to 'framework/inc/uielement')
-rw-r--r-- | framework/inc/uielement/statusbarmanager.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/uielement/statusbarmanager.hxx b/framework/inc/uielement/statusbarmanager.hxx index c855b129e680..71bfc34df9ef 100644 --- a/framework/inc/uielement/statusbarmanager.hxx +++ b/framework/inc/uielement/statusbarmanager.hxx @@ -32,7 +32,7 @@ #include <com/sun/star/frame/XUIControllerFactory.hpp> #include <com/sun/star/ui/XUIConfiguration.hpp> #include <com/sun/star/frame/XModuleManager.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <rtl/ustring.hxx> @@ -55,7 +55,7 @@ class StatusBarManager : public ::com::sun::star::frame::XFrameActionListener friend class FrameworkStatusBar; public: - StatusBarManager( const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rServicveManager, + StatusBarManager( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame, const OUString& rResourceName, StatusBar* pStatusBar ); @@ -117,8 +117,8 @@ class StatusBarManager : public ::com::sun::star::frame::XFrameActionListener com::sun::star::uno::Reference< com::sun::star::container::XNameAccess > m_xUICommandLabels; StatusBarControllerMap m_aControllerMap; ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener - ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XUIControllerFactory > m_xStatusbarControllerFactory; + ::com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xContext; + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XUIControllerFactory > m_xStatusbarControllerFactory; }; } |