diff options
Diffstat (limited to 'basegfx/test/boxclipper.cxx')
-rw-r--r-- | basegfx/test/boxclipper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx index 54e5e96071ac..696e86c622e9 100644 --- a/basegfx/test/boxclipper.cxx +++ b/basegfx/test/boxclipper.cxx @@ -48,7 +48,7 @@ double getRandomOrdinal( const ::std::size_t n ) { // use this one when displaying polygons in OOo, which still sucks // great rocks when trying to import non-integer svg:d attributes - return comphelper::rng::uniform_int_distribution(static_cast<size_t>(0), n-1); + return comphelper::rng::uniform_size_distribution(0, n-1); } inline bool compare(const B2DPoint& left, const B2DPoint& right) |