summaryrefslogtreecommitdiff
path: root/scaddins
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 /scaddins
parent3976739f2378391fa09379c48844daf0e2790f5b (diff)
boost::math::nextafter->std::nextafter
Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/analysis.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index 00ed821dfee1..28ccc2d91d12 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -31,7 +31,6 @@
#include <string.h>
#include <tools/resmgr.hxx>
#include <tools/rcid.h>
-#include <boost/math/special_functions/next.hpp>
#define ADDIN_SERVICE "com.sun.star.sheet.AddIn"
#define MY_SERVICE "com.sun.star.sheet.addin.Analysis"
@@ -702,7 +701,7 @@ double SAL_CALL AnalysisAddIn::getRandbetween( double fMin, double fMax ) throw(
if( fMin > fMax )
throw lang::IllegalArgumentException();
- double fRet = floor(comphelper::rng::uniform_real_distribution(fMin, boost::math::nextafter(fMax+1, -DBL_MAX)));
+ double fRet = floor(comphelper::rng::uniform_real_distribution(fMin, std::nextafter(fMax+1, -DBL_MAX)));
RETURN_FINITE( fRet );
}