vcl/source/gdi/pdfwriter_impl.hxx | 6 +++--- vcl/source/gdi/pdfwriter_impl2.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 95f454e25501d1f221c5ee460a82c1e9feb8b6de Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Feb 21 16:29:51 2017 +0100 -Werror=register Change-Id: I8884467d1f33c8c4096520fedd51aa28a4f9f546 diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 1e25de4..69338bd 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -781,14 +781,14 @@ i12626 sal_Int32 m_nEncryptionBufferSize; /* check and reallocate the buffer for encryption */ - bool checkEncryptionBufferSize( register sal_Int32 newSize ); + bool checkEncryptionBufferSize( sal_Int32 newSize ); /* this function implements part of the PDF spec algorithm 3.1 in encryption, the rest (the actual encryption) is in PDFWriterImpl::writeBuffer */ - void checkAndEnableStreamEncryption( register sal_Int32 nObject ); + void checkAndEnableStreamEncryption( sal_Int32 nObject ); void disableStreamEncryption() { m_bEncryptThisStream = false; }; /* */ - void enableStringEncryption( register sal_Int32 nObject ); + void enableStringEncryption( sal_Int32 nObject ); // test if the encryption is active, if yes than encrypt the unicode string and add to the OStringBuffer parameter void appendUnicodeTextStringEncrypt( const OUString& rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer ); diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index ea89ffe..f131a6d 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1161,7 +1161,7 @@ EncHashTransporter* EncHashTransporter::getEncHashTransporter( const uno::Refere return pResult; } -bool PDFWriterImpl::checkEncryptionBufferSize( register sal_Int32 newSize ) +bool PDFWriterImpl::checkEncryptionBufferSize( sal_Int32 newSize ) { if( m_nEncryptionBufferSize < newSize ) { @@ -1176,7 +1176,7 @@ bool PDFWriterImpl::checkEncryptionBufferSize( register sal_Int32 newSize ) return ( m_nEncryptionBufferSize != 0 ); } -void PDFWriterImpl::checkAndEnableStreamEncryption( register sal_Int32 nObject ) +void PDFWriterImpl::checkAndEnableStreamEncryption( sal_Int32 nObject ) { if( m_aContext.Encryption.Encrypt() ) { @@ -1196,7 +1196,7 @@ void PDFWriterImpl::checkAndEnableStreamEncryption( register sal_Int32 nObject ) } } -void PDFWriterImpl::enableStringEncryption( register sal_Int32 nObject ) +void PDFWriterImpl::enableStringEncryption( sal_Int32 nObject ) { if( m_aContext.Encryption.Encrypt() ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits