summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-03-14 17:08:03 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-14 17:08:03 +0100
commit578c8dea8ec7d377d738f8d821b741d0f3e8b9e4 (patch)
treea60bf72898978b7c4c65c6c78c4790b09df01e7f /drawinglayer
parentc3e9b8cce795c02536a0e41c49bd534713ef11dd (diff)
drawinglayer: work around Android build
Change-Id: I9ec4622314bb92cd8c99451c18146dec774a954b
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index 216be6b2e88e..65b77187b5d0 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;