summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-09-08 15:46:25 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-09-08 15:46:25 +0000
commit3e23e6fdc5fffd523024e750db54804540a2e6e3 (patch)
tree3d44c24a664e8ee28746ee5932eab80d69a492a7 /i18npool
parentbe32a7e3f0e1828347e5ae6cb678c4e4e5ad8986 (diff)
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
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx8
1 files 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 );