summaryrefslogtreecommitdiffstats
path: root/idlc/source/astdump.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/astdump.cxx')
-rw-r--r--idlc/source/astdump.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index fbdd7232d893..3d9f472f2c4a 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -394,13 +394,12 @@ void AstAttribute::dumpExceptions(
"void", 0,
static_cast< sal_uInt16 >(exceptions.size()));
sal_uInt16 exceptionIndex = 0;
- for (DeclList::const_iterator i(exceptions.begin());
- i != exceptions.end(); ++i)
+ for (auto const& elem : exceptions)
{
writer.setMethodExceptionTypeName(
idx, exceptionIndex++,
OStringToOUString(
- (*i)->getRelativName(), RTL_TEXTENCODING_UTF8));
+ elem->getRelativName(), RTL_TEXTENCODING_UTF8));
}
}
}