[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    fix for the tag?
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2007-06-27 23:02:48
Message-ID: 200706280102.48419.mail () dipe ! org
[Download RAW message or body]

Hi Dirk,

since this commit seems to fix a very evil crasher that renders parts of 
KSpread unusuable, are we able to apply the patch to the KOffice 1.9.91 tag? 
I am sorry, that this came in just one hour after the tag, but well... :-/

--------------- Forwarded message (begin)

Subject: koffice/kspread
From: Sebastian Sauer <mail@dipe.org>
Date: Thu, 28 Jun 2007 00:44:20 +0200
Newsgroup: gmane.comp.kde.cvs

SVN commit 681105 by sebsauer:

fix evil alarm-clock introduced with r679765 :-/
CC_MAIL: mecirt@gmail.com



 M  +1 -1      ValueFormatter.cpp  


--- trunk/koffice/kspread/ValueFormatter.cpp #681104:681105
@@ -239,7 +239,7 @@
     double m[] = { 1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10 };
     double mm = (p > 10) ? ::pow(10.0,p) : m[p];
     bool neg = value < 0;
-    value = floor( numToDouble (fabs(value)*mm + 0.5) ) / mm;
+    value = floor( numToDouble (fabs(value))*mm + 0.5 ) / mm;
     if( neg ) value = -value;
   }
 


--------------- Forwarded message (end)
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic