svx/source/dialog/docrecovery.cxx | 2 +- svx/source/unodraw/recoveryui.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6b0f903464d5f1c9483a1aac242f77b059bd3716 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jul 26 11:11:14 2013 +0200 More "Keep passing XComponentContext into officecfg:: wrapper fns" Change-Id: Ie891f1afe8db2f3ac2f01e287e1caae4de3c3246 diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index e3c57b4..316a2b0 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 e6d4c33..21c1ac4 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. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits