diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2013-09-26 20:56:15 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-01 22:35:33 +0000 |
commit | 111a2b94fd6f217d91c9a057086b3d2dfa752c5b (patch) | |
tree | 3a046275c690188601db40f0ac7dd6e56c322e9b /cui/source/options | |
parent | 2fb543496a61974edd15c2bfefbc83abe225a85a (diff) |
fdo#54812 Remove option 'Size optimization for ODF format'
Change-Id: I1aee738a0ecd761efaecf4b1b1c53918d8f9cf01
Reviewed-on: https://gerrit.libreoffice.org/6044
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optsave.cxx | 11 | ||||
-rw-r--r-- | cui/source/options/optsave.hxx | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 094f6362c9f2..31a164d58ca5 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -98,7 +98,6 @@ SfxSaveTabPage::SfxSaveTabPage( Window* pParent, const SfxItemSet& rCoreSet ) : get(aRelativeInetCB, "relative_inet"); get(aODFVersionLB, "odfversion"); - get(aSizeOptimizationCB, "sizeoptimization"); get(aWarnAlienFormatCB, "warnalienformat"); get(aDocTypeLB, "doctype"); get(aSaveAsFT, "saveas_label"); @@ -271,12 +270,6 @@ sal_Bool SfxSaveTabPage::FillItemSet( SfxItemSet& rSet ) bModified |= sal_True; } - if ( aSizeOptimizationCB->IsChecked() != aSizeOptimizationCB->GetSavedValue() ) - { - rSet.Put( SfxBoolItem( GetWhich( SID_ATTR_PRETTYPRINTING ), !aSizeOptimizationCB->IsChecked() ) ); - bModified |= sal_True; - } - if ( aAutoSaveCB->IsChecked() != aAutoSaveCB->GetSavedValue() ) { rSet.Put( SfxBoolItem( GetWhich( SID_ATTR_AUTOSAVE ), @@ -478,9 +471,6 @@ void SfxSaveTabPage::Reset( const SfxItemSet& ) aWarnAlienFormatCB->Check(aSaveOpt.IsWarnAlienFormat()); aWarnAlienFormatCB->Enable(!aSaveOpt.IsReadOnly(SvtSaveOptions::E_WARNALIENFORMAT)); - // the pretty printing - aSizeOptimizationCB->Check( !aSaveOpt.IsPrettyPrinting()); - aAutoSaveEdit->SetValue( aSaveOpt.GetAutoSaveTime() ); // save relatively @@ -497,7 +487,6 @@ void SfxSaveTabPage::Reset( const SfxItemSet& ) aDocInfoCB->SaveValue(); aBackupCB->SaveValue(); aWarnAlienFormatCB->SaveValue(); - aSizeOptimizationCB->SaveValue(); aAutoSaveCB->SaveValue(); aAutoSaveEdit->SaveValue(); diff --git a/cui/source/options/optsave.hxx b/cui/source/options/optsave.hxx index eef46ba7cd83..69dfbb07ba83 100644 --- a/cui/source/options/optsave.hxx +++ b/cui/source/options/optsave.hxx @@ -55,7 +55,6 @@ private: CheckBox* aRelativeInetCB; ListBox* aODFVersionLB; - CheckBox* aSizeOptimizationCB; CheckBox* aWarnAlienFormatCB; ListBox* aDocTypeLB; FixedText* aSaveAsFT; |