You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/12/02 05:59:27 UTC
svn commit: r1717568 -
/openoffice/trunk/main/basic/source/runtime/methods.cxx
Author: pfg
Date: Wed Dec 2 04:59:27 2015
New Revision: 1717568
URL: http://svn.apache.org/viewvc?rev=1717568&view=rev
Log:
Unitialized scalar variable
CID: 707497,
(Errata: r1717567) corresponds to CID 707496)
Modified:
openoffice/trunk/main/basic/source/runtime/methods.cxx
Modified: openoffice/trunk/main/basic/source/runtime/methods.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/basic/source/runtime/methods.cxx?rev=1717568&r1=1717567&r2=1717568&view=diff
==============================================================================
--- openoffice/trunk/main/basic/source/runtime/methods.cxx (original)
+++ openoffice/trunk/main/basic/source/runtime/methods.cxx Wed Dec 2 04:59:27 2015
@@ -2048,7 +2048,7 @@ RTLFUNC(TimeValue)
SbiInstance::PrepareNumberFormatter( pFormatter, n, n, n );
}
- sal_uInt32 nIndex;
+ sal_uInt32 nIndex = 0;
double fResult;
sal_Bool bSuccess = pFormatter->IsNumberFormat( rPar.Get(1)->GetString(),
nIndex, fResult );