vcl/source/gdi/pdfwriter_impl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2efd8b2c5b943973fd88c2bb1e7ec4cc4c713e1e
Author:     Saburo Yoshida <[email protected]>
AuthorDate: Mon Feb 23 16:44:53 2026 +0900
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Feb 24 15:45:52 2026 +0100

    tdf#170448 PDF property characters were XML escaped multiple times
    
    e.g. apostrophe &amp;apos; --> &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]>
    Signed-off-by: Xisco Fauli <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200209

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx 
b/vcl/source/gdi/pdfwriter_impl.cxx
index 4ae207e66691..5481804143fc 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -5903,7 +5903,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);
     }
 }
 

Reply via email to