From d22fb8a60881f96f0347b5eae6c67f056ddc53cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 11 Oct 2013 09:12:24 +0100 Subject: [PATCH] CID#1103740 uninitialized value Change-Id: I2d10104277d8ad0781e3dd088d51d62fa759fe57 --- basic/source/runtime/methods.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 1180a81a4f85..4167152bc299 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -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 ) )