summaryrefslogtreecommitdiff
path: root/oox/source/crypto/AgileEngine.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/crypto/AgileEngine.cxx')
-rw-r--r--oox/source/crypto/AgileEngine.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/crypto/AgileEngine.cxx b/oox/source/crypto/AgileEngine.cxx
index 883daeed4ede..7c2a0e9c93d2 100644
--- a/oox/source/crypto/AgileEngine.cxx
+++ b/oox/source/crypto/AgileEngine.cxx
@@ -85,7 +85,8 @@ public:
{
const OUString& rLocalName = stripNamespacePrefix(rName);
- for (const Attribute& rAttribute : aAttributeList->getUnknownAttributes())
+ const css::uno::Sequence<Attribute> aUnknownAttributes = aAttributeList->getUnknownAttributes();
+ for (const Attribute& rAttribute : aUnknownAttributes)
{
const OUString& rAttrLocalName = stripNamespacePrefix(rAttribute.Name);