summaryrefslogtreecommitdiff
path: root/include/oox/crypto/AgileEngine.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-08-24 23:05:01 +0200
committerTomaž Vajngerl <quikee@gmail.com>2013-08-24 23:05:01 +0200
commit1bff0dbf79cf11269122bb3ebba8b80120ef8b8e (patch)
treee19110bf204035eff12408f2a51e9ec5b83ea872 /include/oox/crypto/AgileEngine.hxx
parent4323c66840e4c7dcacda0e33d33d7e67fdb08f09 (diff)
Convert vector block* to const array block*.
Looks like my compiler eats a lot of things thrown at him but others don't. Change-Id: If1d080a545e6c2a17e19b389eeb1714aa0569644
Diffstat (limited to 'include/oox/crypto/AgileEngine.hxx')
-rw-r--r--include/oox/crypto/AgileEngine.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/oox/crypto/AgileEngine.hxx b/include/oox/crypto/AgileEngine.hxx
index ddd7a3fffb50..9a384885d19d 100644
--- a/include/oox/crypto/AgileEngine.hxx
+++ b/include/oox/crypto/AgileEngine.hxx
@@ -45,7 +45,8 @@ class AgileEngine : public CryptoEngine
bool calculateHashFinal(const OUString& rPassword, std::vector<sal_uInt8>& aHashFinal);
bool calculateBlock(
- const std::vector<sal_uInt8>& rBlock,
+ const sal_uInt8* rBlock,
+ sal_uInt32 aBlockSize,
std::vector<sal_uInt8>& rHashFinal,
std::vector<sal_uInt8>& rInput,
std::vector<sal_uInt8>& rOutput);