diff options
Diffstat (limited to 'xmloff/source/draw/shapeexport3.cxx')
-rw-r--r-- | xmloff/source/draw/shapeexport3.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeexport3.cxx b/xmloff/source/draw/shapeexport3.cxx index f8f8e0194565..8341b5c58b05 100644 --- a/xmloff/source/draw/shapeexport3.cxx +++ b/xmloff/source/draw/shapeexport3.cxx @@ -380,7 +380,8 @@ void XMLShapeExport::export3DSceneAttributes( const com::sun::star::uno::Referen aAny = xPropSet->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DSceneDistance"))); sal_Int32 nDistance = 0; aAny >>= nDistance; - mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, nDistance); + mrExport.GetMM100UnitConverter().convertMeasureToXML(sStringBuffer, + nDistance); aStr = sStringBuffer.makeStringAndClear(); mrExport.AddAttribute(XML_NAMESPACE_DR3D, XML_DISTANCE, aStr); @@ -388,7 +389,8 @@ void XMLShapeExport::export3DSceneAttributes( const com::sun::star::uno::Referen aAny = xPropSet->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DSceneFocalLength"))); sal_Int32 nFocalLength = 0; aAny >>= nFocalLength; - mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, nFocalLength); + mrExport.GetMM100UnitConverter().convertMeasureToXML(sStringBuffer, + nFocalLength); aStr = sStringBuffer.makeStringAndClear(); mrExport.AddAttribute(XML_NAMESPACE_DR3D, XML_FOCAL_LENGTH, aStr); |