diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-07 12:08:42 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-07 12:08:42 +0000 |
commit | b7fc939088c87249a900dfec5e8b04e4263f00e4 (patch) | |
tree | 4bbe8d240017aa7006003d8497a0e42c31496ab3 /configmgr | |
parent | d7c7f59683a7e977dc179dd6e0552d94d862997e (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')
-rw-r--r-- | configmgr/source/registry/cfgregistrykey.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/registry/cfgregistrykey.cxx b/configmgr/source/registry/cfgregistrykey.cxx index 4d1a461d836d..498829602cb9 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); } |