From 5a94bc910aa4418326aef894fc412ab71b24bd31 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 7 Jan 2015 11:23:53 +0100 Subject: drawinglayer: fix Android build Change-Id: Ie214c91f59780db9baa40cea01b6ddef3019febf --- drawinglayer/source/primitive2d/polygonprimitive2d.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drawinglayer/source') diff --git a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx index a4f667e18e4e..c6bbfd2f45c5 100644 --- a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx @@ -29,7 +29,7 @@ #include using namespace com::sun::star; - +using namespace std; namespace drawinglayer @@ -217,7 +217,7 @@ namespace drawinglayer { double getRandomColorRange() { - return comphelper::rng::uniform_real_distribution(0.0, std::nextafter(1.0, DBL_MAX)); + return comphelper::rng::uniform_real_distribution(0.0, nextafter(1.0, DBL_MAX)); } } -- cgit v1.2.3