diff options
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index ed0acd8c2067..252cd5d2b550 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -1824,7 +1824,7 @@ void PDFWriterImpl::PDFPage::appendWaveLine( sal_Int32 nWidth, sal_Int32 nY, sal case PDFWriter::PDF_1_5: aBuffer.append( "1.5" );break; } // append something binary as comment (suggested in PDF Reference) - aBuffer.append( "\n%äüöß\n" ); + aBuffer.append( "\n%\303\244\303\274\303\266\303\237\n" ); if( !writeBuffer( aBuffer.getStr(), aBuffer.getLength() ) ) { osl_closeFile( m_aFile ); @@ -6438,8 +6438,8 @@ sal_Int32 PDFWriterImpl::emitDocumentMetadata() OStringBuffer aMetadataStream( 8192 ); aMetadataStream.append( "<?xpacket begin=\"" ); -// this lines writes Unicode “zero width non-breaking space character” (U+FEFF) (aka byte-order mark ) used -// as a byte-order marker. +// these lines write Unicode "zero width non-breaking space character" (U+FEFF) +// (aka byte-order mark ) used as a byte-order marker. aMetadataStream.append( OUStringToOString( OUString( sal_Unicode( 0xFEFF ) ), RTL_TEXTENCODING_UTF8 ) ); aMetadataStream.append( "\" id=\"W5M0MpCehiHzreSzNTczkc9d\"?>\n" ); aMetadataStream.append( "<x:xmpmeta xmlns:x=\"adobe:ns:meta/\">\n" ); |