diff options
Diffstat (limited to 'oox/source/crypto/DocumentDecryption.cxx')
-rw-r--r-- | oox/source/crypto/DocumentDecryption.cxx | 3 |
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) { |