[Libreoffice-commits] core.git: oox/source
Caolán McNamara
caolanm at redhat.com
Wed Feb 15 20:40:21 UTC 2017
oox/source/export/drawingml.cxx | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 7e3edba7497291f089fb4a5aabd721b7192cee64
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Feb 15 20:39:45 2017 +0000
no std::lround on android
Change-Id: I910a0a81a925ce4578f3b9b3a51987fbbd91aa13
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 13871c9..a57fc82 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1912,6 +1912,17 @@ void DrawingML::WriteLinespacing( LineSpacing& rSpacing )
}
}
+#if defined(ANDROID)
+namespace std
+{
+template<typename T>
+T lround(T x)
+{
+ return ::lround(x);
+}
+}
+#endif
+
void DrawingML::WriteParagraphProperties( const Reference< XTextContent >& rParagraph )
{
Reference< XPropertySet > rXPropSet( rParagraph, UNO_QUERY );
More information about the Libreoffice-commits
mailing list