From 60795a7fd1c467882a9038a91a09953148a448ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 24 Nov 2015 14:10:37 +0200 Subject: loplugin:unusedfields in include/oox/ Change-Id: Ie7a53f3ecc05d1d4f6f71aa8165315f9155c60dc --- oox/source/crypto/CryptTools.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'oox/source/crypto/CryptTools.cxx') 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& key, vector& iv, CryptoT // DECRYPT Decrypt::Decrypt(vector& key, vector& iv, CryptoType type) : - Crypto(type) + Crypto() { #if USE_TLS_OPENSSL EVP_CIPHER_CTX_init( &mContext ); @@ -159,7 +158,7 @@ sal_uInt32 Decrypt::aes128ecb(vector& output, vector& inpu // ENCRYPT Encrypt::Encrypt(vector& key, vector& iv, CryptoType type) : - Crypto(type) + Crypto() { #if USE_TLS_OPENSSL EVP_CIPHER_CTX_init( &mContext ); -- cgit