diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-24 14:10:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-24 14:20:26 +0200 |
commit | 60795a7fd1c467882a9038a91a09953148a448ad (patch) | |
tree | 6a27d746b6c2e1ebaf72f892c5581574b9560aef /oox/source/crypto | |
parent | 73b7c5034fcc024c6b5d50f4a78c2b3a855bc73e (diff) |
loplugin:unusedfields in include/oox/
Change-Id: Ie7a53f3ecc05d1d4f6f71aa8165315f9155c60dc
Diffstat (limited to 'oox/source/crypto')
-rw-r--r-- | oox/source/crypto/CryptTools.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx index 6b58d715c83e..f21b0e1b7713 100644 --- a/oox/source/crypto/CryptTools.cxx +++ b/oox/source/crypto/CryptTools.cxx @@ -16,10 +16,9 @@ namespace core { using namespace std; -Crypto::Crypto(CryptoType type) - : mType(type) +Crypto::Crypto() #if USE_TLS_NSS - , mContext(nullptr) + : mContext(nullptr) , mSecParam(nullptr) , mSymKey(nullptr) #endif @@ -111,7 +110,7 @@ void Crypto::setupContext(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoT // DECRYPT Decrypt::Decrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) : - Crypto(type) + Crypto() { #if USE_TLS_OPENSSL EVP_CIPHER_CTX_init( &mContext ); @@ -159,7 +158,7 @@ sal_uInt32 Decrypt::aes128ecb(vector<sal_uInt8>& output, vector<sal_uInt8>& inpu // ENCRYPT Encrypt::Encrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) : - Crypto(type) + Crypto() { #if USE_TLS_OPENSSL EVP_CIPHER_CTX_init( &mContext ); |