diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-14 17:08:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-14 17:08:03 +0100 |
commit | 578c8dea8ec7d377d738f8d821b741d0f3e8b9e4 (patch) | |
tree | a60bf72898978b7c4c65c6c78c4790b09df01e7f /drawinglayer | |
parent | c3e9b8cce795c02536a0e41c49bd534713ef11dd (diff) |
drawinglayer: work around Android build
Change-Id: I9ec4622314bb92cd8c99451c18146dec774a954b
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclpixelprocessor2d.cxx | 10 |
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; |