summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-01-07 11:23:53 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-07 11:24:02 +0100
commit5a94bc910aa4418326aef894fc412ab71b24bd31 (patch)
tree4a7c7964ce0ad10e438eeca5aedb660a313338c9 /drawinglayer/source
parent05850304c98b9365dbd5c5210d06e24ee9c5e13f (diff)
drawinglayer: fix Android build
Change-Id: Ie214c91f59780db9baa40cea01b6ddef3019febf
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/primitive2d/polygonprimitive2d.cxx4
1 files changed, 2 insertions, 2 deletions
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 <comphelper/random.hxx>
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));
}
}