From 7cc8e0c302a5e7b669778337576a37f34754478c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 5 Jan 2015 14:38:04 +0000 Subject: boost::math::nextafter->std::nextafter Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b --- slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx index ce78ab0c40ec..736c8c750c61 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx @@ -32,7 +32,6 @@ #include #include -#include #include #include "OGLTrans_TransitionImpl.hxx" @@ -676,7 +675,7 @@ boost::shared_ptr makeRochade() inline double randFromNeg1to1() { - return comphelper::rng::uniform_real_distribution(-1.0, boost::math::nextafter(1.0, DBL_MAX)); + return comphelper::rng::uniform_real_distribution(-1.0, std::nextafter(1.0, DBL_MAX)); } // TODO(Q3): extract to basegfx -- cgit