summaryrefslogtreecommitdiff
path: root/oox/source/crypto/DocumentDecryption.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-12 14:32:11 +0200
committerNoel Grandin <noel@peralex.com>2014-12-19 08:50:29 +0200
commit4cbba98601ae16cda1739e1e81d697592bb31213 (patch)
treee9dab946f962455656c76479ee63c6b41d139dc1 /oox/source/crypto/DocumentDecryption.cxx
parenta3181adc11bc707680424551369a24b3c65de921 (diff)
remove operator>> and operator<< methods
in favour of ReadXXX/WriteXXX methods Change-Id: I849fd10c689fb9834ae9974e430dc337adc68755
Diffstat (limited to 'oox/source/crypto/DocumentDecryption.cxx')
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index fc93e0b46a31..5d5e6466d813 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -327,8 +327,7 @@ bool DocumentDecryption::readEncryptionInfo()
BinaryXInputStream aBinaryInputStream( xEncryptionInfo, true );
- sal_uInt32 aVersion;
- aBinaryInputStream >> aVersion;
+ sal_uInt32 aVersion = aBinaryInputStream.readuInt32();
switch (aVersion)
{