diff options
Diffstat (limited to 'vcl/source/app/IconThemeScanner.cxx')
-rw-r--r-- | vcl/source/app/IconThemeScanner.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/IconThemeScanner.cxx b/vcl/source/app/IconThemeScanner.cxx index 228c4e00f6cf..846eeaa7c942 100644 --- a/vcl/source/app/IconThemeScanner.cxx +++ b/vcl/source/app/IconThemeScanner.cxx @@ -92,9 +92,9 @@ void IconThemeScanner::ScanDirectoryForIconThemes(const OUString& paths) SAL_WARN("vcl.app", "Could not find any icon themes in the provided directory ('" <<path<<"'."); continue; } - for (std::vector<OUString>::iterator aI = iconThemePaths.begin(); aI != iconThemePaths.end(); ++aI) + for (auto const& iconThemePath : iconThemePaths) { - AddIconThemeByPath(*aI); + AddIconThemeByPath(iconThemePath); } } } |