diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-05 12:30:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-05 12:52:09 +0100 |
commit | 8430357c7fbb2aa7fd0010a5451c4bc007f06612 (patch) | |
tree | 94454153aa63b056d88cae0c199e5fedfff25447 /include/oox | |
parent | 779aa2077d3f25cf19f74acd69e1f6d819b4610c (diff) |
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
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/crypto/CryptTools.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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( |