diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-04-21 17:19:29 +0200 |
---|---|---|
committer | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2020-12-05 19:21:22 +0300 |
commit | 308cccb962ad5e3367f7e87fb9fe8b9c3230ded7 (patch) | |
tree | df89af66eed592c15bc794f9af65f0c0573b6ea8 /cui/source/options/optgdlg.cxx | |
parent | 8961f4aaf38db139eb8f154d1c8bb788c992a4e7 (diff) |
Remove collect usage info from GUI
Change-Id: I1a7420c557187097b424d298c020bcb837a8261c
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 809e8f8ba68a..64da15adad57 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_xCollectUsageInfo(m_xBuilder->weld_check_button("collectusageinfo")) , m_xCrashReport(m_xBuilder->weld_check_button("crashreport")) , m_xQuickStarterFrame(m_xBuilder->weld_widget("quickstarter")) #if defined(UNX) @@ -335,12 +334,6 @@ bool OfaMiscTabPage::FillItemSet( SfxItemSet* rSet ) rSet->Put( SfxUInt16Item( SID_ATTR_YEAR2000, nNum ) ); } - if (m_xCollectUsageInfo->get_state_changed_from_saved()) - { - officecfg::Office::Common::Misc::CollectUsageInformation::set(m_xCollectUsageInfo->get_active(), batch); - bModified = true; - } - #if HAVE_FEATURE_BREAKPAD if (m_xCrashReport->get_state_changed_from_saved()) { @@ -388,10 +381,6 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet ) else m_xYearFrame->set_sensitive(false); - m_xCollectUsageInfo->set_active(officecfg::Office::Common::Misc::CollectUsageInformation::get()); - m_xCollectUsageInfo->set_sensitive(!officecfg::Office::Common::Misc::CollectUsageInformation::isReadOnly()); - m_xCollectUsageInfo->save_state(); - #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()); |