summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-09 20:09:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-09 20:09:11 +0100
commitc119ec426b2a20b79d3ecaccaa91d15bc8d43a23 (patch)
tree2bbd92f0016066fe63cfbefae9bb6d89eb06db55
parent21efe9ed56372dee93258fdbfd1bc88a0fd45760 (diff)
CID#1079180 initialize buffer
Change-Id: Id00bce6fe4826293f6b0ae842bc70b536e9aa99a
-rw-r--r--sc/source/filter/qpro/qproform.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 2b9bca63752a..e977643d7db8 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -195,7 +195,8 @@ ConvErr QProToSc::Convert( const ScTokenArray*& pArray, sal_uInt16 /*nLen*/, con
ScSingleRefData aSRD;
FUNC_TYPE eType;
DefTokenId eOc;
- double nFloatArray[ nBufSize ], nFloat;
+ double nFloatArray[ nBufSize ] = {0};
+ double nFloat;
const sal_Char* pExtString = 0;
aCRD.InitFlags();