diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-05 14:38:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-06 09:17:13 +0000 |
commit | 7cc8e0c302a5e7b669778337576a37f34754478c (patch) | |
tree | 8efc5297a151f19dbc7af53eb69843f551b97945 /vcl | |
parent | 3976739f2378391fa09379c48844daf0e2790f5b (diff) |
boost::math::nextafter->std::nextafter
Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index a9d36341b6af..b42ef149ce7a 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -32,7 +32,6 @@ #include <vcl/bmpacc.hxx> #include <basegfx/numeric/ftools.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> -#include <boost/math/special_functions/next.hpp> #include <vcldemo-debug.hxx> #include <rtl/math.hxx> @@ -318,7 +317,7 @@ public: for (int i = 0; i < PRINT_N_TEXT; i++) { rDev.SetTextColor(Color(nCols[i % SAL_N_ELEMENTS(nCols)])); // random font size to avoid buffering - vcl::Font aFont(maFontNames[i % maFontNames.size()], Size(0, 1 + i * (0.9 + comphelper::rng::uniform_real_distribution(0.0, boost::math::nextafter(0.1, DBL_MAX))) * (r.Top() - r.Bottom())/PRINT_N_TEXT)); + vcl::Font aFont(maFontNames[i % maFontNames.size()], Size(0, 1 + i * (0.9 + comphelper::rng::uniform_real_distribution(0.0, std::nextafter(0.1, DBL_MAX))) * (r.Top() - r.Bottom())/PRINT_N_TEXT)); rDev.SetFont(aFont); rDev.DrawText(r, aText.copy(0, 4 + (aText.getLength() - 4) * (PRINT_N_TEXT - i)/PRINT_N_TEXT)); } |