summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLEventExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/script/XMLEventExport.cxx')
-rw-r--r--xmloff/source/script/XMLEventExport.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index eb0fc075c584..64e47a45919c 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -52,13 +52,9 @@ XMLEventExport::XMLEventExport(SvXMLExport& rExp) :
XMLEventExport::~XMLEventExport()
{
// delete all handlers
- HandlerMap::iterator aEnd = aHandlerMap.end();
- for( HandlerMap::iterator aIter =
- aHandlerMap.begin();
- aIter != aEnd;
- ++aIter )
+ for( auto& rEntry : aHandlerMap )
{
- delete aIter->second;
+ delete rEntry.second;
}
aHandlerMap.clear();
}