From bd4b626ab978d862ed6f300d77a6a7b6b11869b3 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 12 Oct 2006 13:28:11 +0000 Subject: 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). --- basic/source/comp/token.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basic/source') 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 -- cgit