vcl/source/pdf/pdfwriter_impl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4192eafd17fa932bcc48ac57e1c3936e2e1a1961 Author: Saburo Yoshida <[email protected]> AuthorDate: Mon Feb 23 16:44:53 2026 +0900 Commit: Xisco Fauli <[email protected]> CommitDate: Tue Feb 24 14:20:50 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]> (cherry picked from commit e876be508061f9651a03f689fd2aea9451f7fc35) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200173 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/vcl/source/pdf/pdfwriter_impl.cxx b/vcl/source/pdf/pdfwriter_impl.cxx index cd756e0fd1bb..ca0a7728db04 100644 --- a/vcl/source/pdf/pdfwriter_impl.cxx +++ b/vcl/source/pdf/pdfwriter_impl.cxx @@ -4967,7 +4967,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); } }
