From 8430357c7fbb2aa7fd0010a5451c4bc007f06612 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 5 Sep 2013 12:30:38 +0100 Subject: CID#1079343 mContext.cipher is not initialized... use protected to indicate that this is not callable directly, but only by another ctor which will do the initialization. Not sure if coverity will grok that, but if it doesn't then it can be submitted as a false positive Change-Id: I8e97c0b441dc407a005913e2b10f0fb48f45672b --- include/oox/crypto/CryptTools.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/oox/crypto/CryptTools.hxx b/include/oox/crypto/CryptTools.hxx index 3c9bf0ba0426..07abc71bf16e 100644 --- a/include/oox/crypto/CryptTools.hxx +++ b/include/oox/crypto/CryptTools.hxx @@ -72,9 +72,10 @@ protected: CK_ATTRIBUTE_TYPE operation); #endif -public: +protected: Crypto(CryptoType type); +public: virtual ~Crypto(); virtual sal_uInt32 update( -- cgit