summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-17 19:00:07 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-17 20:32:07 +0300
commit0193dc6d690967ee5b047c6bf7905d8ce0510609 (patch)
treeb066c569abdb9dada122290e81c033cf9db77fa1
parentbcfeaa2e7b2247480e857814a00f42fd7bb524c2 (diff)
WaE: potentially uninitialized local variable used
-rw-r--r--sc/source/filter/excel/xeformula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index 86acbc47da38..1503dcf38b9b 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -2122,7 +2122,7 @@ void XclExpFmlaCompImpl::ProcessExternalName( const XclExpScToken& rTokData )
}
// insert the new external name and create the tNameX token
- sal_uInt16 nExtSheet, nExtName;
+ sal_uInt16 nExtSheet = 0, nExtName = 0;
const ::rtl::OUString* pFile = rExtRefMgr.getExternalFileName( nFileId );
if( pFile && mxData->mpLinkMgr->InsertExtName( nExtSheet, nExtName, *pFile, rName, xArray ) )
{