summaryrefslogtreecommitdiffstats
path: root/framework/inc/dispatch/dispatchprovider.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/dispatch/dispatchprovider.hxx')
-rw-r--r--framework/inc/dispatch/dispatchprovider.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx
index 484e0fa24b3f..777463b297ed 100644
--- a/framework/inc/dispatch/dispatchprovider.hxx
+++ b/framework/inc/dispatch/dispatchprovider.hxx
@@ -90,7 +90,7 @@ class DispatchProvider : // interfaces
/* member */
private:
/// reference to global service manager to create new services
- css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
/// weakreference to owner frame (Don't use a hard reference. Owner can't delete us then!)
css::uno::WeakReference< css::frame::XFrame > m_xFrame;
/// different dispatcher to handle special dispatch calls, protocols or URLs (they will be created on demand.)
@@ -103,7 +103,7 @@ class DispatchProvider : // interfaces
FWK_DECLARE_XINTERFACE
FWK_DECLARE_XTYPEPROVIDER
- DispatchProvider( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ,
+ DispatchProvider( const css::uno::Reference< css::uno::XComponentContext >& xContext ,
const css::uno::Reference< css::frame::XFrame >& xFrame );
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch ( const css::util::URL& aURL ,