diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-26 11:11:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-26 11:11:32 +0200 |
commit | 6b0f903464d5f1c9483a1aac242f77b059bd3716 (patch) | |
tree | 67be2e29d7d8f1a140161d71a7793f12611dd1c7 /svx | |
parent | aa03340dcb5f832afe760e0d498238c3643f52c6 (diff) |
More "Keep passing XComponentContext into officecfg:: wrapper fns"
Change-Id: Ie891f1afe8db2f3ac2f01e287e1caae4de3c3246
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/recoveryui.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index e3c57b41add1..316a2b0a3240 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -971,7 +971,7 @@ RecoveryDialog::RecoveryDialog(Window* pParent, FreeResource(); - bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get()); + bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get(pCore->getComponentContext())); m_bRecoveryOnly = !bCrashRepEnabled; PluginProgress* pProgress = new PluginProgress( &m_aProgrParent, pCore->getComponentContext() ); diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index e6d4c3346ad5..21c1ac4f0fea 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -276,7 +276,7 @@ void RecoveryUI::impl_doRecovery() { bool bRecoveryOnly( false ); - bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get()); + bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get(m_xContext)); bRecoveryOnly = !bCrashRepEnabled; // create core service, which implements the real "emergency save" algorithm. |