summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/recoveryui.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-10-18 10:58:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-29 17:32:55 +0100
commit39c556da3180bc507d9fae5e26bcdf81ea193938 (patch)
tree4d4e1e6ae7571db9c14a0df0cc015f73f27db33c /svx/source/unodraw/recoveryui.cxx
parent7f4e5c8c6f293782fa772c7cf6ad7f8e5992db8b (diff)
fdo#46808, Create new-style frame::AutoRecovery service
The service already existed, it just did not have an IDL file.
Diffstat (limited to 'svx/source/unodraw/recoveryui.cxx')
-rw-r--r--svx/source/unodraw/recoveryui.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx
index 6d72a8dd6887..5da4fbd6e37b 100644
--- a/svx/source/unodraw/recoveryui.cxx
+++ b/svx/source/unodraw/recoveryui.cxx
@@ -262,7 +262,7 @@ RecoveryUI::EJob RecoveryUI::impl_classifyJob(const css::util::URL& aURL)
sal_Bool RecoveryUI::impl_doEmergencySave()
{
// create core service, which implements the real "emergency save" algorithm.
- svxdr::RecoveryCore* pCore = new svxdr::RecoveryCore(m_xSMGR, sal_True);
+ svxdr::RecoveryCore* pCore = new svxdr::RecoveryCore(comphelper::getComponentContext(m_xSMGR), sal_True);
css::uno::Reference< css::frame::XStatusListener > xCore(pCore);
// create all needed dialogs for this operation
@@ -300,7 +300,7 @@ void RecoveryUI::impl_doRecovery()
bRecoveryOnly = !bCrashRepEnabled;
// create core service, which implements the real "emergency save" algorithm.
- svxdr::RecoveryCore* pCore = new svxdr::RecoveryCore(m_xSMGR, sal_False);
+ svxdr::RecoveryCore* pCore = new svxdr::RecoveryCore(comphelper::getComponentContext(m_xSMGR), sal_False);
css::uno::Reference< css::frame::XStatusListener > xCore(pCore);
// create all needed dialogs for this operation