diff options
author | Yuri Dario <ydario@apache.org> | 2012-07-18 20:38:00 +0000 |
---|---|---|
committer | Yuri Dario <ydario@apache.org> | 2012-07-18 20:38:00 +0000 |
commit | abb5d676023e5b0bbf1f4ba142165e216eee38b6 (patch) | |
tree | 65a5a60bc13f58807b702af1f11e96b046fb8af0 | |
parent | eb34ba3c343807201c62a49a19d7616e1011c118 (diff) |
i120312 - OS/2 port: workaround to invalid float operation.
Notes
Notes:
ignore: OS/2
-rw-r--r-- | vcl/source/control/field.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 9cec6187653e..f62aab0ce45c 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -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; |