diff options
author | Attila Szűcs <szucs.attila3@nisz.hu> | 2021-01-11 12:13:48 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-01-15 13:28:03 +0100 |
commit | 8c3041a25fb3d3c3c15c12fecdac23f7935aeffa (patch) | |
tree | 9e81e0698ad5597b656eb80a1037591971bf317d /sc/source/core | |
parent | fddad2ed797f1773ed5be979a0b05d3f976b744e (diff) |
tdf#138832 XLSX export: fix lost file names in modified links
Also for single-reference links, use the temporary indexes
calculated in commit f85d860ccbebd99bc128218148e2992c9415f221
(tdf#87973 XLSX export: fix lost file names in modified links),
Note: only a new test case has been added to the modified unit
test document.
Co-authored-by: Tibor Nagy (NISZ)
Change-Id: I4337a4e68008956ea42b626d210f07b1cbfe59ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109088
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index f0e116a2acbe..32ff094ab348 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -5088,7 +5088,7 @@ void ScCompiler::CreateStringFromExternal( OUStringBuffer& rBuffer, const Formul break; case svExternalSingleRef: pConv->makeExternalRefStr(rDoc.GetSheetLimits(), - rBuffer, GetPos(), nFileId, *pFileName, t->GetString().getString(), + rBuffer, GetPos(), nUsedFileId, *pFileName, t->GetString().getString(), *t->GetSingleRef()); break; case svExternalDoubleRef: |