summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLEventsImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/script/XMLEventsImportContext.cxx')
-rw-r--r--xmloff/source/script/XMLEventsImportContext.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx
index cb7679cc3b63..5960b5215e91 100644
--- a/xmloff/source/script/XMLEventsImportContext.cxx
+++ b/xmloff/source/script/XMLEventsImportContext.cxx
@@ -165,9 +165,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > XMLEventsImportContext
// a) search for script:language and script:event-name attribute
OUString sLanguage;
OUString sEventName;
- sax_fastparser::FastAttributeList *pAttribList =
- sax_fastparser::FastAttributeList::castToFastAttributeList( xAttrList );
- for (auto &aIter : *pAttribList)
+ for (auto &aIter : sax_fastparser::castToFastAttributeList( xAttrList ))
{
OUString sValue = aIter.toString();