summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-02 10:02:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-02 10:02:47 +0000
commit390eddd690e0249eeece7790190a05878fe4c265 (patch)
treef4fa18a2c28f80f36e380a514f434abf3ce3af5c /basic
parent425d49387643e39b55eb120d7dfae77533a2fccb (diff)
INTEGRATION: CWS ab30 (1.20.28); FILE MERGED
2006/10/17 14:53:03 ab 1.20.28.2: RESYNC: (1.20-1.21); FILE MERGED 2006/10/09 11:25:09 ab 1.20.28.1: #i68401# SbiScanner::NextSym(): Terminate cmp1/2[] arrays
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/scanner.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/comp/scanner.cxx b/basic/source/comp/scanner.cxx
index d7211ba67041..b93cba2c07c9 100644
--- a/basic/source/comp/scanner.cxx
+++ b/basic/source/comp/scanner.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: scanner.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 14:27:41 $
+ * last change: $Author: vg $ $Date: 2006-11-02 11:02:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -350,8 +350,8 @@ BOOL SbiScanner::NextSym()
else if( *pLine == '&' )
{
pLine++; nCol++;
- sal_Unicode cmp1[] = { '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F' };
- sal_Unicode cmp2[] = { '0', '1', '2', '3', '4', '5', '6', '7' };
+ sal_Unicode cmp1[] = { '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F', 0 };
+ sal_Unicode cmp2[] = { '0', '1', '2', '3', '4', '5', '6', '7', 0 };
sal_Unicode *cmp = cmp1;
//char *cmp = "0123456789ABCDEF";
sal_Unicode base = 16;