vcl/source/pdf/pdfwriter_impl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e876be508061f9651a03f689fd2aea9451f7fc35 Author: Saburo Yoshida <[email protected]> AuthorDate: Mon Feb 23 16:44:53 2026 +0900 Commit: Noel Grandin <[email protected]> CommitDate: Tue Feb 24 08:45:18 2026 +0100 tdf#170448 PDF property characters were XML escaped multiple times e.g. apostrophe &apos; --> ' Change-Id: I6bfedffef0244c945872438f2a9d74523bb717ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200027 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/vcl/source/pdf/pdfwriter_impl.cxx b/vcl/source/pdf/pdfwriter_impl.cxx index f893ae47f910..efbc7ac01ab7 100644 --- a/vcl/source/pdf/pdfwriter_impl.cxx +++ b/vcl/source/pdf/pdfwriter_impl.cxx @@ -4977,7 +4977,7 @@ static void lcl_assignMeta(std::u16string_view aValue, OString& aMeta) { if (!aValue.empty()) { - aMeta = OUStringToOString(comphelper::string::encodeForXml(aValue), RTL_TEXTENCODING_UTF8); + aMeta = OUStringToOString(aValue, RTL_TEXTENCODING_UTF8); } }
