summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-05 15:27:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 17:01:58 +0200
commit27c48894cf45fc34f24ae5e1e8bd7a33ab544359 (patch)
treef3fce1a1e5dc76d932f5f2d973b63563dea1713f /vcl/source/gdi/pdfwriter_impl.cxx
parent32e49998b2edde7a6a8fecddf5da71f3aa5815c2 (diff)
Upcoming loplugin:elidestringvar: vcl
Change-Id: Id746bbb3caeb7555e2a89b13fa6dcb089778002a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95597 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index b1f027441cda..6400198890a5 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -5081,8 +5081,7 @@ sal_Int32 PDFWriterImpl::emitOutputIntent()
aLine.append( " 0 obj\n"
"<</Type/OutputIntent/S/GTS_PDFA1/OutputConditionIdentifier");
- OUString const aComment( "sRGB IEC61966-2.1" );
- appendLiteralStringEncrypt( aComment ,nOIObject, aLine );
+ appendLiteralStringEncrypt( OUStringLiteral("sRGB IEC61966-2.1") ,nOIObject, aLine );
aLine.append("/DestOutputProfile ");
aLine.append( nICCObject );
aLine.append( " 0 R>>\nendobj\n\n" );