summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-02-15 15:55:35 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-02-15 15:55:35 +0100
commitcf0e05f0a637ef84f895214795ab05bcd4166c2b (patch)
tree49254a8de27aede3e4c6aedd4fb269bfc481c845 /svtools
parent283e1405fb40c796eb42cc2dd5022201174e3d72 (diff)
parent52472921fad589d9ceb3c747e9c0fa9985e960af (diff)
CWS-TOOLING: integrate CWS cmcfixes71
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/unoiface.cxx4
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);