summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-05 14:38:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-06 09:17:13 +0000
commit7cc8e0c302a5e7b669778337576a37f34754478c (patch)
tree8efc5297a151f19dbc7af53eb69843f551b97945 /slideshow
parent3976739f2378391fa09379c48844daf0e2790f5b (diff)
boost::math::nextafter->std::nextafter
Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx3
1 files changed, 1 insertions, 2 deletions
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 <utility>
#include <boost/make_shared.hpp>
-#include <boost/math/special_functions/next.hpp>
#include <comphelper/random.hxx>
#include "OGLTrans_TransitionImpl.hxx"
@@ -676,7 +675,7 @@ boost::shared_ptr<OGLTransitionImpl> 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