diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-22 11:08:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-22 15:20:12 +0200 |
commit | a726677724a5a8dd6ae39d5a7a829c2ed62f3efd (patch) | |
tree | ed6de2b6c3130d2464602248efd3344ce133531a /include | |
parent | fe1ac1bf904ec7905187c3c3a5fe6a90f31f94e7 (diff) |
fdo#46808, Convert XMultiServiceFactory to XComponentContext
Change-Id: Ib5e6fb4d6a4ff8f2bd315f19bde5028be2c569ea
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/statusbarcontroller.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svtools/statusbarcontroller.hxx b/include/svtools/statusbarcontroller.hxx index 9d094fa151b8..3b0f5bdf00d6 100644 --- a/include/svtools/statusbarcontroller.hxx +++ b/include/svtools/statusbarcontroller.hxx @@ -21,13 +21,13 @@ #define _SVTOOLS_STATUSBARCONTROLLER_HXX #include "svtools/svtdllapi.h" -#include <com/sun/star/ui/XStatusbarItem.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XStatusbarController.hpp> -#include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/frame/XLayoutManager.hpp> +#include <com/sun/star/ui/XStatusbarItem.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/util/XURLTransformer.hpp> #include <cppuhelper/weak.hxx> #include <cppuhelper/interfacecontainer.hxx> #include <comphelper/broadcasthelper.hxx> @@ -46,7 +46,7 @@ class SVT_DLLPUBLIC StatusbarController : public ::cppu::OWeakObject { public: - StatusbarController( const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rServiceManager, + StatusbarController( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame, const OUString& aCommandURL, unsigned short nID ); @@ -123,7 +123,7 @@ class SVT_DLLPUBLIC StatusbarController : unsigned short m_nID; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame; ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xParentWindow; - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager; + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; OUString m_aCommandURL; URLToDispatchMap m_aListenerMap; ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener |