diff options
Diffstat (limited to 'vcl/quartz/ctfonts.cxx')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 65b3a85f5a43..6050badcdcca 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -537,10 +537,9 @@ void SystemFontList::AddFont( CoreTextFontFace* pFontData ) void SystemFontList::AnnounceFonts( PhysicalFontCollection& rFontCollection ) const { - auto it = maFontContainer.cbegin(); - for(; it != maFontContainer.cend(); ++it ) + for(const auto& rEntry : maFontContainer ) { - rFontCollection.Add( (*it).second.get() ); + rFontCollection.Add( rEntry.second.get() ); } } |