summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-10 20:40:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-11 11:23:53 +0200
commit351875e5662ee2c2bd45750cb2dd8fbac65bf728 (patch)
tree171b5cf3d0f50fd2bd8e8c90a7b447eb50fce44e /vcl/source/gdi/pdfwriter_impl.cxx
parent48b2d74b1d68523253368bd0ba23dec26ad6ad8c (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 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 6efb3ac3e81a..564e35dee051 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -5191,7 +5191,7 @@ sal_Int32 PDFWriterImpl::emitOutputIntent()
}
// formats the string for the XML stream
-static void escapeStringXML( const OUString& rStr, OUString &rValue)
+void escapeStringXML(const OUString& rStr, OUString &rValue)
{
const sal_Unicode* pUni = rStr.getStr();
int nLen = rStr.getLength();