summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-02 10:29:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-02 10:29:06 +0200
commitd7363da21d47cd7935896146fa27a5512d6baf5b (patch)
tree8965cc545952f50a6b71bd6e85a8e0b4a2cf5e9b /sax
parent4978328534c0f759eea7d0c196046f1d53b06925 (diff)
fix linux build
after commit 1461ebb "expand out ::sax::Converter::convertNumber to OUString::number" Change-Id: Ie219db074a626b124cc640612e549ec9ac869296
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/converter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index c3a77033e8f3..c0e9e1f1dc03 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);