summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/fontmanager/fontconfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/fontmanager/fontconfig.cxx')
-rw-r--r--vcl/unx/generic/fontmanager/fontconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index 18a0408d34ae..9ae5004d5256 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -668,7 +668,7 @@ void PrintFontManager::countFontconfigFonts( std::unordered_map<OString, int>& o
if( eIndexRes == FcResultMatch && nEntryId != -1 )
{
int nCollectionEntry = GetCollectionIndex(nEntryId);
- for (auto & font : aFonts)
+ for (const auto & font : aFonts)
{
if( font.m_nCollectionEntry == nCollectionEntry )
{