summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-04 19:36:07 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-04 21:34:33 +0200
commit738ae33f7e1503a72ef6e31318f80257f173042d (patch)
tree633bf37e0049ef3428c685ec62f249c9a973f19c /sc
parentbbadfca2cad32f1da9cca225df0b12cdde84d593 (diff)
warning C4701: potentially uninitialized local variables
Change-Id: Ia153de4928ff99e8943450be27fa5ddeada8608c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xeformula.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index 7db3bb5a481b..662ae079443d 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -1250,7 +1250,7 @@ void XclExpFmlaCompImpl::ProcessDdeLink( const XclExpScToken& rTokData )
if( mxData->mbOk ) mxData->mbOk = aApplic.Len() && aTopic.Len() && aItem.Len();
if( mxData->mbOk )
{
- sal_uInt16 nExtSheet, nExtName;
+ sal_uInt16 nExtSheet(0), nExtName(0);
if( mxData->mpLinkMgr && mxData->mpLinkMgr->InsertDde( nExtSheet, nExtName, aApplic, aTopic, aItem ) )
AppendNameXToken( nExtSheet, nExtName, rTokData.mnSpaces );
else
@@ -2377,7 +2377,7 @@ void XclExpFmlaCompImpl::AppendAddInCallToken( const XclExpExtFuncData& rExtFunc
void XclExpFmlaCompImpl::AppendEuroToolCallToken( const XclExpExtFuncData& rExtFuncData, sal_uInt8 nSpaces )
{
- sal_uInt16 nExtSheet, nExtName;
+ sal_uInt16 nExtSheet(0), nExtName(0);
if( mxData->mpLinkMgr && mxData->mpLinkMgr->InsertEuroTool( nExtSheet, nExtName, rExtFuncData.maFuncName ) )
AppendNameXToken( nExtSheet, nExtName, nSpaces );
else