[Libreoffice-commits] core.git: tools/source
Noel Power
noel.power at suse.com
Tue Apr 30 06:19:35 PDT 2013
tools/source/generic/fract.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1b14676b5f95dd51d6266a6ab7bd713a5ddcff2f
Author: Noel Power <noel.power at suse.com>
Date: Tue Apr 30 14:18:33 2013 +0100
redo fix for fdo#64078
use std::abs instead of labs
Change-Id: Icb09fb1715d4795c718773a37e66947d67019bb7
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index c99db66..cad06a7 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;
More information about the Libreoffice-commits
mailing list