From fb6d3b883bfcd8de73d4426cc68ed6a7cc9e773a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 7 Oct 2014 13:45:15 +0100 Subject: disambiguate uniform_int_distribution Change-Id: Ifa0c1b1983d1cc7f22d55b15dee88b7f709dbcf8 --- basegfx/test/boxclipper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx') 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(0), n-1); + return comphelper::rng::uniform_size_distribution(0, n-1); } inline bool compare(const B2DPoint& left, const B2DPoint& right) -- cgit