diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-24 13:02:01 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-24 13:02:01 +0000 |
commit | b5219e4364c8d58627818ce4301bf2ae69e96a64 (patch) | |
tree | 236570b0cc98ea6e1e16354c0724a52751db8795 /basic | |
parent | 897b98e345cc880b926c30fd5540f96b8492fc13 (diff) |
INTEGRATION: CWS uno3 (1.48.14); FILE MERGED
2003/04/16 15:19:59 ab 1.48.14.1: #13230# Check overflow in Val()
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 9abc86f68e8f..c018314704a9 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -2,9 +2,9 @@ * * $RCSfile: methods.cxx,v $ * - * $Revision: 1.49 $ + * $Revision: 1.50 $ * - * last change: $Author: rt $ $Date: 2003-04-23 16:58:11 $ + * last change: $Author: vg $ $Date: 2003-04-24 14:02:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1458,6 +1458,7 @@ RTLFUNC(Val) { // #57844 Lokalisierte Funktion benutzen nResult = ::rtl::math::stringToDouble( aStr, '.', ',', NULL, NULL ); + checkArithmeticOverflow( nResult ); // ATL: nResult = strtod( aStr.GetStr(), &pEndPtr ); } |