From 351875e5662ee2c2bd45750cb2dd8fbac65bf728 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 10 May 2021 20:40:53 +0100 Subject: gtk4: menu item text seems to be parsed as xml now, so escape the basics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Zoom & Pan" in impress causing trouble Change-Id: If738eebaa3d9fd9abdd09a4fba4abce600c28743 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115363 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/pdfwriter.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index fc28a009dd54..89776c815e87 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -1200,6 +1200,8 @@ The following structure describes the permissions used in PDF security static OString GetDateTime(); }; +VCL_DLLPUBLIC void escapeStringXML( const OUString& rStr, OUString &rValue); + } #endif // INCLUDED_VCL_PDFWRITER_HXX -- cgit