summaryrefslogtreecommitdiff
path: root/oox/source/crypto
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 19:45:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:05 +0100
commitd1ffd54cf4acb8865019f2fceffd1b3682720aa1 (patch)
treeb39dcc9d465f395173b6cd43e72e34d51d8b333c /oox/source/crypto
parentd763944d302a72e300b63ac9c5eb54f1ae2eef77 (diff)
loplugin:subtlezeroinit: oox
Change-Id: I8a1b6baba6191b20264f32cbf73f5d75bc50235b
Diffstat (limited to 'oox/source/crypto')
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index 8f0084c639b1..f93f9031f260 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -242,7 +242,7 @@ bool DocumentDecryption::readAgileEncryptionInfo(Reference< XInputStream >& xInp
bool DocumentDecryption::readStandard2007EncryptionInfo(BinaryInputStream& rStream)
{
- Standard2007Engine* engine = new Standard2007Engine();
+ Standard2007Engine* engine = new Standard2007Engine;
mEngine.reset(engine);
msfilter::StandardEncryptionInfo& info = engine->getInfo();