diff options
author | Caolán McNamara <cmc@openoffice.org> | 2010-01-23 12:35:22 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2010-01-23 12:35:22 +0000 |
commit | 3064f4b9d7f44f5d286a22f8e0d6710661f160de (patch) | |
tree | f436920000184604b8e902b69d1419685e7f746a /svtools | |
parent | 7f5f6c30e89c27422a1576ccceb9b0d79c8e3f0d (diff) |
cmcfixes71: #i108597# fix uninit warnings
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/unoiface.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index 9c7c3eec33d1..0d17dda3c621 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -1053,7 +1053,7 @@ void SVTXFormattedField::setProperty( const ::rtl::OUString& PropertyName, const case ::com::sun::star::uno::TypeClass_DOUBLE: if (pField->TreatingAsNumber()) { - double d; + double d = 0.0; rValue >>= d; aReturn <<= d; } @@ -1065,7 +1065,7 @@ void SVTXFormattedField::setProperty( const ::rtl::OUString& PropertyName, const // should never fail Color* pDum; - double d; + double d = 0.0; rValue >>= d; String sConverted; pFormatter->GetOutputString(d, 0, sConverted, &pDum); |