diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-10 09:07:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-10 10:22:32 +0000 |
commit | c299011abeb50a9fccb420d6b1e8e82924efc329 (patch) | |
tree | 32813decba792a329c906a08b98455f9a8677734 /sfx2 | |
parent | 3d8bf853f10755ecacd88b46886af4564923f80d (diff) |
shuffle this around a little
Change-Id: Ibf23114885c49163d50b3249db8788770fe74352
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/request.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx index a7785cf2e2b6..489d9f3f5bc7 100644 --- a/sfx2/source/control/request.cxx +++ b/sfx2/source/control/request.cxx @@ -69,6 +69,7 @@ struct SfxRequest_Impl: public SfxListener SfxViewFrame* pViewFrame; css::uno::Reference< css::frame::XDispatchRecorder > xRecorder; + css::uno::Reference< uno::XComponentContext > xContext; explicit SfxRequest_Impl( SfxRequest *pOwner ) : pAnti( pOwner) @@ -83,8 +84,9 @@ struct SfxRequest_Impl: public SfxListener , nCallMode( SfxCallMode::SYNCHRON ) , bAllowRecording( false ) , pViewFrame(nullptr) - {} - + , xContext(comphelper::getProcessComponentContext()) + { + } void SetPool( SfxItemPool *pNewPool ); virtual void Notify( SfxBroadcaster &rBC, const SfxHint &rHint ) override; @@ -349,8 +351,6 @@ void SfxRequest_Impl::Record } } - uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext(); - uno::Reference< util::XURLTransformer > xTransform = util::URLTransformer::create( xContext ); css::util::URL aURL; |