diff --git a/drawinglayer/inc/converters.hxx b/drawinglayer/inc/converters.hxx index acc00f3c4b3c..4f585d5d08db 100644 --- a/drawinglayer/inc/converters.hxx +++ b/drawinglayer/inc/converters.hxx @@ -24,7 +24,6 @@ namespace drawinglayer { - BitmapEx convertToBitmapEx( const drawinglayer::primitive2d::Primitive2DContainer& rSeq, const geometry::ViewInformation2D& rViewInformation2D, @@ -32,8 +31,6 @@ namespace drawinglayer sal_uInt32 nDiscreteHeight, sal_uInt32 nMaxQuadratPixels); - double getRandomColorRange(); - } // end of namespace drawinglayer /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx index cdcc843a8b17..a93deae3817f 100644 --- a/drawinglayer/source/primitive2d/polygonprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/polygonprimitive2d.cxx @@ -24,7 +24,6 @@ #include #include #include -#include #include @@ -196,11 +195,6 @@ namespace drawinglayer::primitive2d namespace drawinglayer { - double getRandomColorRange() - { - return comphelper::rng::uniform_real_distribution(0.0, nextafter(1.0, DBL_MAX)); - } - namespace primitive2d { void PolygonStrokePrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*rViewInformation*/) const diff --git a/drawinglayer/source/texture/texture.cxx b/drawinglayer/source/texture/texture.cxx index 8aa121462465..7ca4a4f1b164 100644 --- a/drawinglayer/source/texture/texture.cxx +++ b/drawinglayer/source/texture/texture.cxx @@ -26,10 +26,18 @@ #include #include -#include +#include namespace drawinglayer::texture { + namespace + { + double getRandomColorRange() + { + return comphelper::rng::uniform_real_distribution(0.0, nextafter(1.0, DBL_MAX)); + } + } + GeoTexSvx::GeoTexSvx() { }