From 3e23e6fdc5fffd523024e750db54804540a2e6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Wed, 8 Sep 2004 15:46:25 +0000 Subject: [PATCH] INTEGRATION: CWS ooo20040704 (1.6.116); FILE MERGED 2004/06/30 13:09:21 waratah 1.6.116.1: #i30874# Add initial values to potentially uninitialised values --- .../transliteration/ignoreProlongedSoundMark_ja_JP.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx b/i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx index bbea7ca3b104..d85248a2a2a3 100644 --- a/i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx +++ b/i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ignoreProlongedSoundMark_ja_JP.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2003-04-28 16:51:48 $ + * last change: $Author: rt $ $Date: 2004-09-08 16:46:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -343,7 +343,9 @@ ignoreProlongedSoundMark_ja_JP::folding( const OUString& inStr, sal_Int32 startP sal_Unicode * dst = newStr->buffer; const sal_Unicode * src = inStr.getStr() + startPos; - sal_Int32 *p, position; + sal_Int32 *p = 0; + sal_Int32 position = 0; + if (useOffset) { // Allocate nCount length to offset argument. offset.realloc( nCount );