sc/source/ui/docshell/impex.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a997bd0e77d9721d55311dcfbd50fea802d801bd Author: Eike Rathke <er...@redhat.com> AuthorDate: Sun Mar 20 18:28:32 2022 +0100 Commit: Eike Rathke <er...@redhat.com> CommitDate: Mon Mar 21 01:09:28 2022 +0100 ExtText2Doc: EmbeddedNullTreatment is not necessary for bDetermineRange Change-Id: I1efb8bf14889514b2258bcf7db5ff5b6b2efecf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131880 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index ef581f19d5a2..cd4442459245 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -1614,7 +1614,8 @@ bool ScImportExport::ExtText2Doc( SvStream& rStrm ) break; // for } - EmbeddedNullTreatment( aLine); + if (!bDetermineRange) + EmbeddedNullTreatment( aLine); sal_Int32 nLineLen = aLine.getLength(); SCCOL nCol = nStartCol;