CID#1103740 uninitialized value

Change-Id: I2d10104277d8ad0781e3dd088d51d62fa759fe57
This commit is contained in:
Caolán McNamara
2013-10-11 09:12:24 +01:00
parent 17605133e0
commit d22fb8a608

View File

@@ -1985,7 +1985,7 @@ RTLFUNC(CDateFromUnoTime)
void SbxDateFromUNODateTime( SbxValue *pVal, const ::com::sun::star::util::DateTime& aUnoDT)
{
double dDate;
double dDate(0.0);
if( implDateTimeSerial( aUnoDT.Year, aUnoDT.Month, aUnoDT.Day,
aUnoDT.Hours, aUnoDT.Minutes, aUnoDT.Seconds,
dDate ) )