Kaydet (Commit) 6b0f9034 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More "Keep passing XComponentContext into officecfg:: wrapper fns"

Change-Id: Ie891f1afe8db2f3ac2f01e287e1caae4de3c3246
üst aa03340d
...@@ -971,7 +971,7 @@ RecoveryDialog::RecoveryDialog(Window* pParent, ...@@ -971,7 +971,7 @@ RecoveryDialog::RecoveryDialog(Window* pParent,
FreeResource(); FreeResource();
bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get()); bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get(pCore->getComponentContext()));
m_bRecoveryOnly = !bCrashRepEnabled; m_bRecoveryOnly = !bCrashRepEnabled;
PluginProgress* pProgress = new PluginProgress( &m_aProgrParent, pCore->getComponentContext() ); PluginProgress* pProgress = new PluginProgress( &m_aProgrParent, pCore->getComponentContext() );
......
...@@ -276,7 +276,7 @@ void RecoveryUI::impl_doRecovery() ...@@ -276,7 +276,7 @@ void RecoveryUI::impl_doRecovery()
{ {
bool bRecoveryOnly( false ); bool bRecoveryOnly( false );
bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get()); bool bCrashRepEnabled(officecfg::Office::Recovery::CrashReporter::Enabled::get(m_xContext));
bRecoveryOnly = !bCrashRepEnabled; bRecoveryOnly = !bCrashRepEnabled;
// create core service, which implements the real "emergency save" algorithm. // create core service, which implements the real "emergency save" algorithm.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment