[Libreoffice-commits] core.git: sax/source
Noel Grandin
noel.grandin at collabora.co.uk
Thu Feb 2 08:30:18 UTC 2017
sax/source/tools/converter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d7363da21d47cd7935896146fa27a5512d6baf5b
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu Feb 2 10:29:06 2017 +0200
fix linux build
after commit 1461ebb
"expand out ::sax::Converter::convertNumber to OUString::number"
Change-Id: Ie219db074a626b124cc640612e549ec9ac869296
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index c3a7703..c0e9e1f 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -645,7 +645,7 @@ void Converter::convertAngle(OUStringBuffer& rBuffer, sal_Int16 const nAngle)
{
#if 1
// wrong, but backward compatible with OOo/LO < 4.4
- rBuffer.append(nAngle);
+ rBuffer.append(static_cast<sal_Int32>(nAngle));
#else
// maybe in the future... (see other convertAngle)
double fAngle(double(nAngle) / 10.0);
More information about the Libreoffice-commits
mailing list