diff options
Diffstat (limited to 'sw/source/ui/fmtui/tmpdlg.cxx')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 77aa92b22293..c9370c1e5e9e 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -417,8 +417,8 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) aNames.insert(pBase->GetName()); pBase = pPool->Next(); } - for(std::set<OUString>::const_iterator it = aNames.begin(); it != aNames.end(); ++it) - rBox.append_text(*it); + for(const auto& rName : aNames) + rBox.append_text(rName); } else if (nId == m_nAlignId) { |