summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 13:28:11 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 13:28:11 +0000
commitbd4b626ab978d862ed6f300d77a6a7b6b11869b3 (patch)
treecd32deba1e7fbb5273bb97cea2f0d5f7ab775cde /basic/source
parent670ec12699dd1a9379e714d558a667e8be4c80f0 (diff)
INTEGRATION: CWS sb59 (1.19.24); FILE MERGED
2006/08/11 15:04:28 sb 1.19.24.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/comp/token.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index 488a58296c19..98a085a9b624 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: token.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 10:03:55 $
+ * last change: $Author: obo $ $Date: 2006-10-12 14:28:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -525,13 +525,13 @@ SbiToken SbiTokenizer::Next()
if( res == COMPARE_LESS )
{
if ((ub - lb) == 2) ub = lb;
- else ub -= delta;
+ else ub = ub - delta;
}
// Kleiner? Dann obere Haelfte
else
{
if ((ub -lb) == 2) lb = ub;
- else lb += delta;
+ else lb = lb + delta;
}
} while( delta );
// Symbol? Wenn nicht >= Token