diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-10 20:40:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-11 11:23:53 +0200 |
commit | 351875e5662ee2c2bd45750cb2dd8fbac65bf728 (patch) | |
tree | 171b5cf3d0f50fd2bd8e8c90a7b447eb50fce44e /include/vcl | |
parent | 48b2d74b1d68523253368bd0ba23dec26ad6ad8c (diff) |
gtk4: menu item text seems to be parsed as xml now, so escape the basics
"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 <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/pdfwriter.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 |