diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-13 17:47:11 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-13 17:47:11 +0000 |
commit | 8d52a387b3be24a9ccb8dc59f8cfc9336836fc78 (patch) | |
tree | 40f32ea21b9d08eb6b0aa708db5012166ed7f328 /basic/source/comp | |
parent | d0ee89ceeb296ce7f2f9fa286d7326bd8db6fed4 (diff) |
INTEGRATION: CWS ab12fixes (1.6.220); FILE MERGED
2004/12/14 16:12:27 ab 1.6.220.1: #i38002# Fixed handling of IMP operator in constant expression evaluation
Diffstat (limited to 'basic/source/comp')
-rw-r--r-- | basic/source/comp/exprnode.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/exprnode.cxx b/basic/source/comp/exprnode.cxx index 6df66b4cad5b..2db7f143c4b5 100644 --- a/basic/source/comp/exprnode.cxx +++ b/basic/source/comp/exprnode.cxx @@ -2,9 +2,9 @@ * * $RCSfile: exprnode.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2003-03-18 16:28:34 $ + * last change: $Author: kz $ $Date: 2005-01-13 18:47:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -346,7 +346,7 @@ void SbiExprNode::FoldConstants() double nr = pRight->nVal; long ll, lr; long llMod, lrMod; - if( ( eTok >= AND && eTok <= EQV ) + if( ( eTok >= AND && eTok <= IMP ) || eTok == IDIV || eTok == MOD ) { // Integer-Operationen |