summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/FValue.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-01-23 12:35:22 +0000
committerCaolán McNamara <cmc@openoffice.org>2010-01-23 12:35:22 +0000
commit1b3a2c9a2ece0a598c5dfdbef450dad8a0379417 (patch)
treea707dc20d788319d5c3d5788baddc59ed2259b9c /connectivity/source/commontools/FValue.cxx
parent3b3e144c13a85b21b32904f245f44256c63e10e5 (diff)
cmcfixes71: #i108597# fix uninit warnings
Diffstat (limited to 'connectivity/source/commontools/FValue.cxx')
-rw-r--r--connectivity/source/commontools/FValue.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index f171af5ec530..d97399621237 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -2136,35 +2136,35 @@ void ORowSetValue::fill(const Any& _rValue)
}
case TypeClass_FLOAT:
{
- float aDummy;
+ float aDummy(0.0);
_rValue >>= aDummy;
(*this) = aDummy;
break;
}
case TypeClass_DOUBLE:
{
- double aDummy;
+ double aDummy(0.0);
_rValue >>= aDummy;
(*this) = aDummy;
break;
}
case TypeClass_BYTE:
{
- sal_Int8 aDummy;
+ sal_Int8 aDummy(0);
_rValue >>= aDummy;
(*this) = aDummy;
break;
}
case TypeClass_SHORT:
{
- sal_Int16 aDummy;
+ sal_Int16 aDummy(0);
_rValue >>= aDummy;
(*this) = aDummy;
break;
}
case TypeClass_LONG:
{
- sal_Int32 aDummy;
+ sal_Int32 aDummy(0);
_rValue >>= aDummy;
(*this) = aDummy;
break;