From 1b14676b5f95dd51d6266a6ab7bd713a5ddcff2f Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 30 Apr 2013 14:18:33 +0100 Subject: redo fix for fdo#64078 use std::abs instead of labs Change-Id: Icb09fb1715d4795c718773a37e66947d67019bb7 --- tools/source/generic/fract.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/source') diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index c99db66e126a..cad06a76e72f 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -132,7 +132,7 @@ Fraction::Fraction( double dVal ) return; } - while ( labs( (long)dVal ) < nMAX && nDen < nMAX ) + while ( std::abs( (long)dVal ) < nMAX && nDen < nMAX ) { dVal *= 10; nDen *= 10; -- cgit