incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yda...@apache.org
Subject svn commit: r1363129 - /incubator/ooo/trunk/main/vcl/source/control/field.cxx
Date Wed, 18 Jul 2012 21:38:01 GMT
Author: ydario
Date: Wed Jul 18 21:38:00 2012
New Revision: 1363129

URL: http://svn.apache.org/viewvc?rev=1363129&view=rev
Log:
i120312 - OS/2 port: workaround to invalid float operation.

Modified:
    incubator/ooo/trunk/main/vcl/source/control/field.cxx

Modified: incubator/ooo/trunk/main/vcl/source/control/field.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/source/control/field.cxx?rev=1363129&r1=1363128&r2=1363129&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/source/control/field.cxx (original)
+++ incubator/ooo/trunk/main/vcl/source/control/field.cxx Wed Jul 18 21:38:00 2012
@@ -477,6 +477,9 @@ void NumericFormatter::ImplInit()
     mnLastValue         = 0;
     mnMin               = 0;
     mnMax               = 0x7FFFFFFFFFFFFFFFLL;
+#ifdef OS2 // see i120312 for details.
+    mnMax               = 0x00000000FFFFFFFFLL;
+#endif
     mnCorrectedValue    = 0;
     mnDecimalDigits     = 2;
     mnType              = FORMAT_NUMERIC;



Mime
View raw message