sc/source/filter/excel/tokstack.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 086bc31ef7058c91a2003aa00dcb6563e5562308 Author: Karthik Godha <[email protected]> AuthorDate: Thu Feb 12 14:37:38 2026 +0530 Commit: Michael Stahl <[email protected]> CommitDate: Thu Feb 12 18:01:07 2026 +0100 sc: XLS - Import external Named-Range functions External Named-Range could be a function, these are not handled during XLS import. bug-document: forum-mso-en4-31562.xls Change-Id: I75bea0a595b717b7af8f555dedfe582752a3db7c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199240 Reviewed-by: Michael Stahl <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx index a0e3974caafb..548848972287 100644 --- a/sc/source/filter/excel/tokstack.cxx +++ b/sc/source/filter/excel/tokstack.cxx @@ -723,6 +723,12 @@ const OUString* TokenPool::GetExternal( const TokenId& rId ) const if ( nExt < ppP_Ext.m_writemark && ppP_Ext[ nExt ] ) p = &ppP_Ext[ nExt ]->aText; } + else if (pType[n] == T_ExtName) + { + sal_uInt16 nExt = pElement[n]; + if (nExt < maExtNames.size()) + p = &maExtNames[nExt].maName; + } } return p;
