From efb7aab30686bd1b6355b684b0ef500aa6f55667 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 24 Jan 2017 21:05:55 +0100 Subject: sw: UseOldPrinterMetrics setting is dead Change-Id: Ib988c5a842b8eb1c3d1d24261e8f30a5d042ffd8 --- sw/source/filter/xml/xmlimp.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index aa7d63bc2f13..41929fd9e6c5 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -1114,7 +1114,6 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC bool bDoNotCaptureDrawObjsOnPage( false ); bool bClipAsCharacterAnchoredWriterFlyFrames( false ); bool bUnixForceZeroExtLeading = false; - bool bUseOldPrinterMetrics = false; bool bSmallCapsPercentage66 = false; bool bTabOverflow = false; bool bUnbreakableNumberings = false; @@ -1201,8 +1200,6 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC bClipAsCharacterAnchoredWriterFlyFrames = true; else if ( pValues->Name == "UnxForceZeroExtLeading" ) bUnixForceZeroExtLeading = true; - else if ( pValues->Name == "UseOldPrinterMetrics" ) - bUseOldPrinterMetrics = true; else if ( pValues->Name == "SmallCapsPercentage66" ) bSmallCapsPercentage66 = true; else if ( pValues->Name == "TabOverflow" ) @@ -1349,11 +1346,6 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC xProps->setPropertyValue( "UnxForceZeroExtLeading", makeAny( true ) ); } - if ( !bUseOldPrinterMetrics ) - { - xProps->setPropertyValue( "UseOldPrinterMetrics", makeAny( true ) ); - } - // Old LO versions had 66 as the value for small caps percentage, later changed to 80. // In order to keep backwards compatibility, SmallCapsPercentage66 option is written to .odt // files, and the default for new documents is 'false'. Files without this option -- cgit v1.2.3