diff options
Diffstat (limited to 'xmloff/source/draw/ximp3dobject.cxx')
-rw-r--r-- | xmloff/source/draw/ximp3dobject.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/xmloff/source/draw/ximp3dobject.cxx b/xmloff/source/draw/ximp3dobject.cxx index 0b0ecbc2d767..2da5687532b0 100644 --- a/xmloff/source/draw/ximp3dobject.cxx +++ b/xmloff/source/draw/ximp3dobject.cxx @@ -97,7 +97,7 @@ void SdXML3DObjectContext::StartElement(const uno::Reference< xml::sax::XAttribu { uno::Any aAny; aAny <<= mxHomMat; - xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DTransformMatrix")), aAny); + xPropSet->setPropertyValue(OUString("D3DTransformMatrix"), aAny); } // call parent @@ -209,9 +209,9 @@ void SdXML3DCubeObjectShapeContext::StartElement(const uno::Reference< xml::sax: uno::Any aAny; aAny <<= aPosition3D; - xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DPosition")), aAny); + xPropSet->setPropertyValue(OUString("D3DPosition"), aAny); aAny <<= aDirection3D; - xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DSize")), aAny); + xPropSet->setPropertyValue(OUString("D3DSize"), aAny); } } } @@ -317,9 +317,9 @@ void SdXML3DSphereObjectShapeContext::StartElement(const uno::Reference< xml::sa uno::Any aAny; aAny <<= aPosition3D; - xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DPosition")), aAny); + xPropSet->setPropertyValue(OUString("D3DPosition"), aAny); aAny <<= aDirection3D; - xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DSize")), aAny); + xPropSet->setPropertyValue(OUString("D3DSize"), aAny); } } } @@ -435,8 +435,7 @@ void SdXML3DPolygonBasedShapeContext::StartElement(const uno::Reference< xml::sa // set poly uno::Any aAny; aAny <<= xPolyPolygon3D; - xPropSet->setPropertyValue( - OUString(RTL_CONSTASCII_USTRINGPARAM("D3DPolyPolygon3D")), aAny); + xPropSet->setPropertyValue(OUString("D3DPolyPolygon3D"), aAny); } // call parent |