diff options
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawpath.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawpolyline.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfdrawpath.cxx b/lotuswordpro/source/filter/xfilter/xfdrawpath.cxx index fdc6b1113e97..e150e436b958 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawpath.cxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawpath.cxx @@ -72,7 +72,7 @@ OUString XFSvgPathEntry::ToString() for (auto const& point : m_aPoints) { - str.append(point.GetX()*1000).append(" ").append(point.GetY()*1000).append(" "); + str.append( OUString::number(point.GetX()*1000) + " " + OUString::number(point.GetY()*1000) + " "); } str.stripEnd(' '); return str.makeStringAndClear(); diff --git a/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx b/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx index d37e4f8a5848..d0e0239947af 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx @@ -83,7 +83,7 @@ void XFDrawPolygon::ToXml(IXFStream *pStrm) { double x = (point.GetX()-rect.GetX())*1000; double y = (point.GetY()-rect.GetY())*1000; - strPoints.append(x).append(" ").append(y).append(" "); + strPoints.append( OUString::number(x) + " " + OUString::number(y) + " "); } strPoints.stripEnd(' '); pAttrList->AddAttribute( "draw:points", strPoints.makeStringAndClear()); diff --git a/lotuswordpro/source/filter/xfilter/xfdrawpolyline.cxx b/lotuswordpro/source/filter/xfilter/xfdrawpolyline.cxx index 7a9bcdcad32a..6f5fb1a0f8a2 100644 --- a/lotuswordpro/source/filter/xfilter/xfdrawpolyline.cxx +++ b/lotuswordpro/source/filter/xfilter/xfdrawpolyline.cxx @@ -83,7 +83,7 @@ void XFDrawPolyline::ToXml(IXFStream *pStrm) { double x = (point.GetX()-rect.GetX())*1000; double y = (point.GetY()-rect.GetY())*1000; - strPoints.append(x).append(",").append(y).append(" "); + strPoints.append( OUString::number(x) + "," + OUString::number(y) + " "); } strPoints.stripEnd(' '); pAttrList->AddAttribute( "draw:points", strPoints.makeStringAndClear()); |