[Libreoffice-commits] core.git: drawinglayer/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Mar 14 16:08:45 UTC 2017


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

New commits:
commit 578c8dea8ec7d377d738f8d821b741d0f3e8b9e4
Author: Miklos Vajna <vmiklos at collabora.co.uk>
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;
 


More information about the Libreoffice-commits mailing list