summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2021-01-23 16:26:15 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-01-23 16:26:15 +0100
commitcb82b341c0ccb7aea3dbde06e9cd1418f0717409 (patch)
treed66463c83e1a1e6d6d21d703367e6a7270ddcf1d /cui
parent3baa31ac77f92a1e50e5cae846f941ab2101376d (diff)
No need for crash reporter option page
With 308cccb962ad5e3367f7e87fb9fe8b9c3230ded7 usage collection GUI was removed, so elide all code using that, too. Change-Id: Ifb57e6d6e58f3dffb9f65b8677fc5118da47a888
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx17
-rw-r--r--cui/source/options/optgdlg.hxx1
2 files changed, 0 insertions, 18 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 64da15adad57..d8fe3db283d3 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -240,7 +240,6 @@ OfaMiscTabPage::OfaMiscTabPage(weld::Container* pPage, weld::DialogController* p
, m_xYearFrame(m_xBuilder->weld_widget("yearframe"))
, m_xYearValueField(m_xBuilder->weld_spin_button("year"))
, m_xToYearFT(m_xBuilder->weld_label("toyear"))
- , m_xCrashReport(m_xBuilder->weld_check_button("crashreport"))
, m_xQuickStarterFrame(m_xBuilder->weld_widget("quickstarter"))
#if defined(UNX)
, m_xQuickLaunchCB(m_xBuilder->weld_check_button("systray"))
@@ -334,14 +333,6 @@ bool OfaMiscTabPage::FillItemSet( SfxItemSet* rSet )
rSet->Put( SfxUInt16Item( SID_ATTR_YEAR2000, nNum ) );
}
-#if HAVE_FEATURE_BREAKPAD
- if (m_xCrashReport->get_state_changed_from_saved())
- {
- officecfg::Office::Common::Misc::CrashReport::set(m_xCrashReport->get_active(), batch);
- bModified = true;
- }
-#endif
-
batch->commit();
if( m_xQuickLaunchCB->get_state_changed_from_saved())
@@ -381,14 +372,6 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet )
else
m_xYearFrame->set_sensitive(false);
-#if HAVE_FEATURE_BREAKPAD
- m_xCrashReport->set_active(officecfg::Office::Common::Misc::CrashReport::get() && CrashReporter::IsDumpEnable());
- m_xCrashReport->set_sensitive(!officecfg::Office::Common::Misc::CrashReport::isReadOnly() && CrashReporter::IsDumpEnable());
- m_xCrashReport->save_state();
-#else
- m_xCrashReport->hide();
-#endif
-
SfxItemState eState = rSet->GetItemState( SID_ATTR_QUICKLAUNCHER, false, &pItem );
if ( SfxItemState::SET == eState )
m_xQuickLaunchCB->set_active( static_cast<const SfxBoolItem*>(pItem)->GetValue() );
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index 0da61dd53f1e..28aa7e44aab5 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -50,7 +50,6 @@ private:
std::unique_ptr<weld::Widget> m_xYearFrame;
std::unique_ptr<weld::SpinButton> m_xYearValueField;
std::unique_ptr<weld::Label> m_xToYearFT;
- std::unique_ptr<weld::CheckButton> m_xCrashReport;
std::unique_ptr<weld::Widget> m_xQuickStarterFrame;
std::unique_ptr<weld::CheckButton> m_xQuickLaunchCB;