summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/impop.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/impop.cxx')
-rw-r--r--sc/source/filter/excel/impop.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx
index 510df2141119..ad286548ed99 100644
--- a/sc/source/filter/excel/impop.cxx
+++ b/sc/source/filter/excel/impop.cxx
@@ -582,20 +582,19 @@ void ImportExcel::Externname25()
nOpt = aIn.ReaduInt16();
nRes = aIn.ReaduInt32();
- OUString aName( aIn.ReadByteString( false ) );
+ aIn.ReadByteString( false ); // name
if( ( nOpt & 0x0001 ) || ( ( nOpt & 0xFFFE ) == 0x0000 ) )
{// external name
- aName = ScfTools::ConvertToScDefinedName( aName );
- pExcRoot->pExtNameBuff->AddName( aName, mnLastRefIdx );
+ pExcRoot->pExtNameBuff->AddName( mnLastRefIdx );
}
else if( nOpt & 0x0010 )
{// ole link
- pExcRoot->pExtNameBuff->AddOLE( aName, mnLastRefIdx, nRes ); // nRes is storage ID
+ pExcRoot->pExtNameBuff->AddOLE( mnLastRefIdx, nRes ); // nRes is storage ID
}
else
{// dde link
- pExcRoot->pExtNameBuff->AddDDE( aName, mnLastRefIdx );
+ pExcRoot->pExtNameBuff->AddDDE( mnLastRefIdx );
}
}