summaryrefslogtreecommitdiff
path: root/configmgr/source/registry
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-07 12:08:42 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-07 12:08:42 +0000
commit1f538523201e37e3521c067e955e1361364b9e7a (patch)
treed8aa0f3a2551a82a0585125e4a7fad1f705ee78e /configmgr/source/registry
parentbbcb34757585777133739ff0df81e242b3a44039 (diff)
INTEGRATION: CWS pj73 (1.14.22); FILE MERGED
2007/02/24 16:34:17 pjanik 1.14.22.1: #i74838#: Initialize variable to prevent warnings.
Diffstat (limited to 'configmgr/source/registry')
-rw-r--r--configmgr/source/registry/cfgregistrykey.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/registry/cfgregistrykey.cxx b/configmgr/source/registry/cfgregistrykey.cxx
index 802d9b756a..054f96399c 100644
--- a/configmgr/source/registry/cfgregistrykey.cxx
+++ b/configmgr/source/registry/cfgregistrykey.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cfgregistrykey.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: vg $ $Date: 2006-11-21 17:23:57 $
+ * last change: $Author: obo $ $Date: 2007-03-07 13:08:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -934,7 +934,7 @@ sal_Int32 SAL_CALL OConfigurationRegistryKey::getLongValue( ) throw(InvalidRegi
OSL_ENSURE(false, "Unexpected type FLOAT in configuration node");
{
// treat as double
- float fNativeValue;
+ float fNativeValue = 0;
if (aValue >>= fNativeValue)
aValue <<= double(fNativeValue);
}