summaryrefslogtreecommitdiff
path: root/basic/source/runtime/step0.cxx
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2001-08-22 09:28:26 +0000
committerAndreas Bregas <ab@openoffice.org>2001-08-22 09:28:26 +0000
commit13f04a6cc9c30fd9823329e55036be77600b28a7 (patch)
treee63aa2396b6ea4b9063f23bcbdc2051c79ed0ba3 /basic/source/runtime/step0.cxx
parent8ea232778a88867add9290d3708b033b8c20f8df (diff)
#90983# StepArith: Check double overflow
Diffstat (limited to 'basic/source/runtime/step0.cxx')
-rw-r--r--basic/source/runtime/step0.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx
index 55e091618fa5..75303c39ad51 100644
--- a/basic/source/runtime/step0.cxx
+++ b/basic/source/runtime/step0.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: step0.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: ab $ $Date: 2001-05-16 11:48:32 $
+ * last change: $Author: ab $ $Date: 2001-08-22 10:28:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -92,6 +92,8 @@ void SbiRuntime::StepArith( SbxOperator eOp )
SbxVariable* p2 = GetTOS();
p2->ResetFlag( SBX_FIXED );
p2->Compute( eOp, *p1 );
+
+ checkArithmeticOverflow( p2 );
}
void SbiRuntime::StepUnary( SbxOperator eOp )