summaryrefslogtreecommitdiff
path: root/vcl/source/window/mnemonic.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-09-08 14:09:01 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-09-08 14:09:01 +0000
commit0411e617fc41b855d16de62c445e8a334a7cca53 (patch)
tree1b79b47e95655864c57675a98c1f2b3219b1f657 /vcl/source/window/mnemonic.cxx
parentd2a20351143498170e9ce6b9551d547951925c0e (diff)
INTEGRATION: CWS ooo20040704 (1.16.116); FILE MERGED
2004/07/01 12:58:04 waratah 1.16.116.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'vcl/source/window/mnemonic.cxx')
-rw-r--r--vcl/source/window/mnemonic.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/mnemonic.cxx b/vcl/source/window/mnemonic.cxx
index ebc2ed05f200..b0aca7b36ee0 100644
--- a/vcl/source/window/mnemonic.cxx
+++ b/vcl/source/window/mnemonic.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: mnemonic.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: hr $ $Date: 2004-02-02 18:23:36 $
+ * last change: $Author: rt $ $Date: 2004-09-08 15:09:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -281,8 +281,8 @@ BOOL MnemonicGenerator::CreateMnemonic( XubString& rKey )
if ( !bChanged )
{
USHORT nBestCount = 0xFFFF;
- USHORT nBestMnemonicIndex;
- xub_StrLen nBestIndex;
+ USHORT nBestMnemonicIndex = 0;
+ xub_StrLen nBestIndex = 0;
nIndex = 0;
do
{