summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-21 08:54:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-21 08:54:05 +0100
commite6ce64b1d7d7a0e451af567360cdaf27079258c9 (patch)
treec3c8eb60780fbcdb6c8ba0d54cfcbf304e36b53f /basegfx
parent5a5889d1e1bd17c16930b2132d8c2674fb7fa05a (diff)
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
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/tools/numbertools.cxx6
1 files changed, 3 insertions, 3 deletions
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 <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
-#include <rtl/ustrbuf.hxx>
+#include <rtl/strbuf.hxx>
#include <rtl/math.hxx>
#include <utility>
@@ -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, '.',