drawinglayer/source/processor2d/vclpixelprocessor2d.cxx |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 578c8dea8ec7d377d738f8d821b741d0f3e8b9e4
Author: Miklos Vajna <[email protected]>
Date:   Tue Mar 14 17:08:03 2017 +0100

    drawinglayer: work around Android build
    
    Change-Id: I9ec4622314bb92cd8c99451c18146dec774a954b

diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index 216be6b..65b7718 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -56,6 +56,16 @@
 
 #include <com/sun/star/table/BorderLineStyle.hpp>
 
+#if defined(ANDROID)
+namespace std
+{
+template<typename T>
+T round(T x)
+{
+    return ::round(x);
+}
+}
+#endif
 
 using namespace com::sun::star;
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to