diff options
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/primitive2d/polygonprimitive2d.cxx | 4 |
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)); } } |