sc/source/filter/excel/xeescher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 361858d734c92ce26f58ad78a16ea5ca4a82c28e Author: Noel Grandin <[email protected]> AuthorDate: Wed Nov 5 10:58:49 2025 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Nov 6 14:56:35 2025 +0100 mso-test: escape text of a:t element This is using the test document from tdf 111408-1.odt. When importing and exporting to XLSX, we end up with an unescaped "&" character. Change-Id: I25e8952049cc0f9665030b46e7d29d2397d9f9bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193448 Reviewed-by: Michael Stahl <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> (cherry picked from commit 47e2188d4bab1509d059c4df53df7f49324bea2d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193509 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> (cherry picked from commit 196b3fe18948b1c6b6afe78d171a62513bc21980) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193532 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index d9bc7f3ea56d..7ea8f6a685f5 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -1370,7 +1370,7 @@ void XclExpTbxControlObj::SaveXml( XclExpXmlStream& rStrm ) pDrawing->startElementNS(XML_a, XML_p); pDrawing->startElementNS(XML_a, XML_r); pDrawing->startElementNS(XML_a, XML_t); - pDrawing->write(msLabel); + pDrawing->writeEscaped(msLabel); pDrawing->endElementNS(XML_a, XML_t); pDrawing->endElementNS(XML_a, XML_r); pDrawing->endElementNS(XML_a, XML_p);
