diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-07 13:45:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-07 14:21:16 +0100 |
commit | fb6d3b883bfcd8de73d4426cc68ed6a7cc9e773a (patch) | |
tree | c136bf85c72aba4a8273c6e666775b4819c4c5cd /cui | |
parent | -Werror=unused-result (diff) | |
download | core-fb6d3b883bfcd8de73d4426cc68ed6a7cc9e773a.tar.gz core-fb6d3b883bfcd8de73d4426cc68ed6a7cc9e773a.zip |
disambiguate uniform_int_distribution
Change-Id: Ifa0c1b1983d1cc7f22d55b15dee88b7f709dbcf8
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index a8adf2f43ca0..038bb0e517c2 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -298,7 +298,7 @@ generateCustomName( sal_uInt32 generateRandomValue() { - return comphelper::rng::uniform_int_distribution(static_cast<unsigned int>(0), std::numeric_limits<unsigned int>::max()); + return comphelper::rng::uniform_uint_distribution(0, std::numeric_limits<unsigned int>::max()); } OUString |