diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-03 08:57:10 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-03 08:57:10 +0000 |
commit | fcdc3e8d79a759850b22b2edb200b3a686c24987 (patch) | |
tree | 1714ed524efa590877c15d8ce33704308026ee60 /xmlhelp | |
parent | 8bc2194da83dfbb1b5c9360f964981a34f1dc9e6 (diff) |
INTEGRATION: CWS ab34 (1.16.32); FILE MERGED
2007/06/20 12:55:42 ab 1.16.32.1: #i68486# Use correct index in char array
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/qe/XmlIndex.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx b/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx index 02cae952b164..89045f237697 100644 --- a/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx +++ b/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx @@ -4,9 +4,9 @@ * * $RCSfile: XmlIndex.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: obo $ $Date: 2006-10-12 11:28:24 $ + * last change: $Author: hr $ $Date: 2007-08-03 09:57:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -230,7 +230,7 @@ XmlIndex::XmlIndex( const rtl::OUString& indexDir ) if( bff[i] ) bff1[ len1++ ] = bff[i]; } - bff1[len] = 0; + bff1[len1] = 0; delete[] bff; rtl::OString aStr( bff1 ); // build a string from the densified buffer; delete[] bff1; |