tools/source/generic/fract.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1b14676b5f95dd51d6266a6ab7bd713a5ddcff2f
Author: Noel Power <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to