diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 12:47:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-04 12:47:39 +0200 |
commit | f927cf4d23432341921c55e6983edf9c8ebe7ff7 (patch) | |
tree | 494c7f6547456c7e015c6a3e97f24e9925593668 /sw/source/filter/xml/xmlimp.cxx | |
parent | a66c83d90cdfb8714ef9096d60a60ae807812063 (diff) |
loplugin:stringconstant
Change-Id: Ic135382652966e80c288f3407508bdaf0c60316e
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlimp.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 99d4c7a86937..3307cd560004 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -1392,14 +1392,12 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC if ( !bUnixForceZeroExtLeading ) { - xProps->setPropertyValue( - OUString("UnxForceZeroExtLeading"), makeAny( true ) ); + xProps->setPropertyValue( "UnxForceZeroExtLeading", makeAny( true ) ); } if ( !bUseOldPrinterMetrics ) { - xProps->setPropertyValue( - OUString("UseOldPrinterMetrics"), makeAny( true ) ); + xProps->setPropertyValue( "UseOldPrinterMetrics", makeAny( true ) ); } // Old LO versions had 66 as the value for small caps percentage, later changed to 80. @@ -1408,14 +1406,12 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC // are considered to be old files, so set the compatibility option too. if ( !bSmallCapsPercentage66 ) { - xProps->setPropertyValue( - OUString("SmallCapsPercentage66"), makeAny( true ) ); + xProps->setPropertyValue( "SmallCapsPercentage66", makeAny( true ) ); } if ( !bTabOverflow ) { - xProps->setPropertyValue( - OUString("TabOverflow"), makeAny( false ) ); + xProps->setPropertyValue( "TabOverflow", makeAny( false ) ); } if ( !bUnbreakableNumberings ) |