diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-27 15:38:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-28 08:10:25 +0200 |
commit | e0fc16f769efc7b0c0b517a80523bb4e2c87b618 (patch) | |
tree | eb7271dcdf3f46bd3c9205548082a9d2cfd9a05a /framework/inc/services/backingcomp.hxx | |
parent | c380b432e32647ca9583b688c9b2f5688d7c2695 (diff) |
fdo#46808, Convert some XMultiServiceFactory to XComponentContext
Change-Id: I8272ecab34711654ed27625a571cf2553ffd7468
Diffstat (limited to 'framework/inc/services/backingcomp.hxx')
-rw-r--r-- | framework/inc/services/backingcomp.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/inc/services/backingcomp.hxx b/framework/inc/services/backingcomp.hxx index 17517c326b06..734291c7b72e 100644 --- a/framework/inc/services/backingcomp.hxx +++ b/framework/inc/services/backingcomp.hxx @@ -31,6 +31,7 @@ #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/awt/XKeyListener.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/frame/XFrame.hpp> @@ -74,7 +75,7 @@ class BackingComp : public css::lang::XTypeProvider /** the global uno service manager. Must be used to create own needed services. */ - css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR; + css::uno::Reference< css::uno::XComponentContext > m_xContext; /** reference to the component window. */ css::uno::Reference< css::awt::XWindow > m_xWindow; @@ -90,7 +91,7 @@ class BackingComp : public css::lang::XTypeProvider public: - BackingComp( const css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR ); + BackingComp( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual ~BackingComp( ); // XInterface |