summaryrefslogtreecommitdiff
path: root/framework/inc/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/jobs')
-rw-r--r--framework/inc/jobs/job.hxx6
-rw-r--r--framework/inc/jobs/jobdispatch.hxx4
-rw-r--r--framework/inc/jobs/jobexecutor.hxx4
3 files changed, 7 insertions, 7 deletions
diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx
index 6ed4f5580a3f..a9861caad220 100644
--- a/framework/inc/jobs/job.hxx
+++ b/framework/inc/jobs/job.hxx
@@ -92,7 +92,7 @@ class Job : public css::lang::XTypeProvider
/**
We need it to create own services on demand.
*/
- css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
/**
Hold the (may asynchronous) job alive.
@@ -176,9 +176,9 @@ class Job : public css::lang::XTypeProvider
public:
- Job( const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR ,
+ Job( const css::uno::Reference< css::uno::XComponentContext >& xContext ,
const css::uno::Reference< css::frame::XFrame >& xFrame );
- Job( const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR ,
+ Job( const css::uno::Reference< css::uno::XComponentContext >& xContext ,
const css::uno::Reference< css::frame::XModel >& xModel );
virtual ~Job( );
diff --git a/framework/inc/jobs/jobdispatch.hxx b/framework/inc/jobs/jobdispatch.hxx
index 47f2c62b17b8..950023034545 100644
--- a/framework/inc/jobs/jobdispatch.hxx
+++ b/framework/inc/jobs/jobdispatch.hxx
@@ -77,7 +77,7 @@ class JobDispatch : public css::lang::XTypeProvider
private:
/** reference to the uno service manager */
- css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
/** reference to the frame, inside which this dispatch is used */
css::uno::Reference< css::frame::XFrame > m_xFrame;
@@ -90,7 +90,7 @@ class JobDispatch : public css::lang::XTypeProvider
public:
- JobDispatch( const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR );
+ JobDispatch( const css::uno::Reference< css::uno::XComponentContext >& xContext );
virtual ~JobDispatch( );
void impl_dispatchEvent ( const OUString& sEvent ,
diff --git a/framework/inc/jobs/jobexecutor.hxx b/framework/inc/jobs/jobexecutor.hxx
index 931fb071af80..a557470b52ee 100644
--- a/framework/inc/jobs/jobexecutor.hxx
+++ b/framework/inc/jobs/jobexecutor.hxx
@@ -65,7 +65,7 @@ class JobExecutor : public css::lang::XTypeProvider
private:
/** reference to the uno service manager */
- css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
/** reference to the module info service */
css::uno::Reference< css::frame::XModuleManager2 > m_xModuleManager;
@@ -84,7 +84,7 @@ class JobExecutor : public css::lang::XTypeProvider
public:
- JobExecutor( const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR );
+ JobExecutor( const css::uno::Reference< css::uno::XComponentContext >& xContext );
virtual ~JobExecutor( );
//___________________________________