[Libreoffice-commits] core.git: drawinglayer/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Apr 19 12:53:37 UTC 2016
drawinglayer/source/primitive2d/borderlineprimitive2d.cxx | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit ce12a5021a080cc1781e0e0256af5e0085e11ef2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Apr 19 14:53:02 2016 +0200
drawinglayer: work around broken Android toolchain
Change-Id: I8679f44663aa81e04684751847cab4f06df3a71e
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
index 97ea164..f467aee 100644
--- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
@@ -30,6 +30,17 @@
#include <cmath>
#include <numeric>
+#if defined(ANDROID)
+namespace std
+{
+template<typename T>
+T round(T x)
+{
+ return round(x);
+}
+}
+#endif
+
namespace drawinglayer {
namespace {
More information about the Libreoffice-commits
mailing list