diff options
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index a4cf97811e75..fd79d34926f1 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -18,7 +18,6 @@ */ #include <config_features.h> -#include <config_vclplug.h> #include <svl/zforlist.hxx> #include <svl/currencytable.hxx> #include <svtools/langhelp.hxx> @@ -155,7 +154,6 @@ OfaMiscTabPage::OfaMiscTabPage(weld::Container* pPage, weld::DialogController* p , m_xPopUpNoHelpCB(m_xBuilder->weld_check_button("popupnohelp")) , m_xShowTipOfTheDay(m_xBuilder->weld_check_button("cbShowTipOfTheDay")) , m_xFileDlgFrame(m_xBuilder->weld_widget("filedlgframe")) - , m_xPrintDlgFrame(m_xBuilder->weld_widget("printdlgframe")) , m_xFileDlgROImage(m_xBuilder->weld_widget("lockimage")) , m_xFileDlgCB(m_xBuilder->weld_check_button("filedlg")) , m_xPrintDlgCB(m_xBuilder->weld_check_button("printdlg")) @@ -185,15 +183,6 @@ OfaMiscTabPage::OfaMiscTabPage(weld::Container* pPage, weld::DialogController* p m_xFileDlgCB->set_sensitive(false); } -#if !ENABLE_GTK3 - m_xPrintDlgFrame->hide(); -#else - if (!officecfg::Office::Common::Misc::ExperimentalMode::get()) - { - m_xPrintDlgFrame->hide(); - } -#endif - m_xQuickLaunchCB->show(); //Only available in Win or if building the gtk systray @@ -248,15 +237,6 @@ bool OfaMiscTabPage::FillItemSet( SfxItemSet* rSet ) bModified = true; } - if ( m_xPrintDlgCB->get_state_changed_from_saved() ) - { - std::shared_ptr< comphelper::ConfigurationChanges > xChanges( - comphelper::ConfigurationChanges::create()); - officecfg::Office::Common::Misc::UseSystemPrintDialog::set( !m_xPrintDlgCB->get_active(), xChanges ); - xChanges->commit(); - bModified = true; - } - if (m_xDocStatusCB->get_state_changed_from_saved()) { officecfg::Office::Common::Print::PrintingModifiesDocument::set(m_xDocStatusCB->get_active(), batch); @@ -316,8 +296,6 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet ) m_xShowTipOfTheDay->save_state(); m_xFileDlgCB->set_active( !officecfg::Office::Common::Misc::UseSystemFileDialog::get() ); m_xFileDlgCB->save_state(); - m_xPrintDlgCB->set_active( !officecfg::Office::Common::Misc::UseSystemPrintDialog::get() ); - m_xPrintDlgCB->save_state(); m_xDocStatusCB->set_active(officecfg::Office::Common::Print::PrintingModifiesDocument::get()); m_xDocStatusCB->save_state(); |