summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-01-24 21:05:55 +0100
committerMichael Stahl <mstahl@redhat.com>2017-01-25 12:47:43 +0100
commitefb7aab30686bd1b6355b684b0ef500aa6f55667 (patch)
treea8f1657447cbbce7a473764e85419b225e844cc5
parent8a87bf1b693fe44ffdc3b773ee0244bbf1bdeda3 (diff)
sw: UseOldPrinterMetrics setting is dead
Change-Id: Ib988c5a842b8eb1c3d1d24261e8f30a5d042ffd8
-rw-r--r--sw/source/filter/xml/xmlimp.cxx8
1 files changed, 0 insertions, 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