From e6ce64b1d7d7a0e451af567360cdaf27079258c9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 21 Mar 2017 08:54:05 +0100 Subject: Only need an OStringBuffer in number2PolyPolygon ...so that later passing the OStringBuffer's aNum[i] to createSevenSegmentPolyPolygon (taking a first parameter of type char) doesn't need to implicitly convert from sal_Unicode to char. Requires addition of some missing OStringBuffer-related function variants in rtl/math.hxx and rtl/strbuf.hxx. Change-Id: I79e6b2a791abc62b6556a6668e4411cced490c11 --- basegfx/source/tools/numbertools.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basegfx/source/tools/numbertools.cxx') diff --git a/basegfx/source/tools/numbertools.cxx b/basegfx/source/tools/numbertools.cxx index d30a8371ab2b..86b926ab55d2 100644 --- a/basegfx/source/tools/numbertools.cxx +++ b/basegfx/source/tools/numbertools.cxx @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include @@ -27,8 +27,8 @@ namespace basegfx { namespace tools // } // config here - rtl::OUStringBuffer aNum; - rtl::math::doubleToUStringBuffer(aNum, + rtl::OStringBuffer aNum; + rtl::math::doubleToStringBuffer(aNum, fValue, rtl_math_StringFormat_F, nDecPlaces, '.', -- cgit