diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 15:46:50 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 15:46:50 +0000 |
commit | fd2379847b459368e95ff74fc7a597991ffcf6cb (patch) | |
tree | f89ae0a1d6a680c1452d26762397f86f3ea4970a /i18npool | |
parent | b4d98ba6abffb1dfb22457bbfbb435293e3f40f3 (diff) |
INTEGRATION: CWS ooo20040704 (1.7.116); FILE MERGED
2004/06/30 13:10:57 waratah 1.7.116.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/transliteration/transliteration_OneToOne.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/i18npool/source/transliteration/transliteration_OneToOne.cxx b/i18npool/source/transliteration/transliteration_OneToOne.cxx index 28266afdb6af..d00afd7af91d 100644 --- a/i18npool/source/transliteration/transliteration_OneToOne.cxx +++ b/i18npool/source/transliteration/transliteration_OneToOne.cxx @@ -2,9 +2,9 @@ * * $RCSfile: transliteration_OneToOne.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2003-04-28 16:54:21 $ + * last change: $Author: rt $ $Date: 2004-09-08 16:46:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,7 +109,8 @@ transliteration_OneToOne::transliterate( const OUString& inStr, sal_Int32 startP const sal_Unicode * src = inStr.getStr() + startPos; // Allocate nCount length to offset argument. - sal_Int32 *p, position; + sal_Int32 *p = 0; + sal_Int32 position = 0; if (useOffset) { offset.realloc( nCount ); p = offset.getArray(); |