oox: OOXML export: use AgileEngine instead of Standard2007Engine

AgileEngine is supported since MS Office 2010 so not much point in using
older and weaker cryptography today.

Signed-off-by: Michael Stahl <michael.stahl@collabora.com>
Change-Id: Id6ea9ae14bdc84b2877edf45a8e2717cbf3e9af1
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/5165
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
(cherry picked from commit 21c1cc0eb20964a5a3b9626cbf85f8485aa02c91)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207314
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Michael Stahl
2026-06-25 23:57:10 +02:00
committed by Xisco Fauli
parent 5f28a317f4
commit 25d359ed07
@@ -29,7 +29,7 @@ namespace oox::crypto
{
StrongEncryptionDataSpace::StrongEncryptionDataSpace(const Reference<XComponentContext>& rxContext)
: mxContext(rxContext)
, mCryptoEngine(new Standard2007Engine)
, mCryptoEngine(new AgileEngine)
{
}