diff options
Diffstat (limited to 'xmloff/source/style/HatchStyle.cxx')
-rw-r--r-- | xmloff/source/style/HatchStyle.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/style/HatchStyle.cxx b/xmloff/source/style/HatchStyle.cxx index ea7999f0ac27..99dddb2e692c 100644 --- a/xmloff/source/style/HatchStyle.cxx +++ b/xmloff/source/style/HatchStyle.cxx @@ -206,9 +206,7 @@ void XMLHatchStyleExport::exportXML( rExport.AddAttribute( XML_NAMESPACE_DRAW, XML_HATCH_DISTANCE, aStrValue ); // Angle - ::sax::Converter::convertNumber(aOut, sal_Int32(aHatch.Angle)); - aStrValue = aOut.makeStringAndClear(); - rExport.AddAttribute( XML_NAMESPACE_DRAW, XML_ROTATION, aStrValue ); + rExport.AddAttribute( XML_NAMESPACE_DRAW, XML_ROTATION, OUString::number(aHatch.Angle) ); // Do Write SvXMLElementExport rElem( rExport, XML_NAMESPACE_DRAW, XML_HATCH, |