diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-12 10:45:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-12 10:46:23 +0200 |
commit | aa2f02a4dc8a05f49e679a26f2beebb9d66b2325 (patch) | |
tree | bed0e3b1b000fceaf09552bc703d19a236de7bbc /oox/source/crypto/DocumentEncryption.cxx | |
parent | df46ec0580b625efe8bd747bed54bc4d4d71f073 (diff) |
remove operator>> and operator<< methods
in favour of ReadXXX/WriteXXX methods
Change-Id: I69eebee3a8ce5b40301db7940a1d85915c0bf6f4
Diffstat (limited to 'oox/source/crypto/DocumentEncryption.cxx')
-rw-r--r-- | oox/source/crypto/DocumentEncryption.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/crypto/DocumentEncryption.cxx b/oox/source/crypto/DocumentEncryption.cxx index 8928101a9bc2..cd6527aa95a2 100644 --- a/oox/source/crypto/DocumentEncryption.cxx +++ b/oox/source/crypto/DocumentEncryption.cxx @@ -59,8 +59,8 @@ bool DocumentEncryption::encrypt() BinaryXInputStream aDocumentInputStream( xInputStream, false ); aDocumentInputStream.seekToStart(); - aEncryptedPackageStream.writeValue<sal_uInt32>( aLength ); // size - aEncryptedPackageStream.writeValue<sal_uInt32>( 0 ); // reserved + aEncryptedPackageStream.WriteUInt32( aLength ); // size + aEncryptedPackageStream.WriteUInt32( 0U ); // reserved mEngine.encrypt(aDocumentInputStream, aEncryptedPackageStream); |