From 0193dc6d690967ee5b047c6bf7905d8ce0510609 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 17 Oct 2011 19:00:07 +0300 Subject: WaE: potentially uninitialized local variable used --- sc/source/filter/excel/xeformula.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') 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 ) ) { -- cgit