summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-12 19:03:06 +0200
committerEike Rathke <erack@redhat.com>2013-09-12 19:31:44 +0200
commit22dc925e3580de0a33e61f91fbce654016d31343 (patch)
tree900544e7946502795442094fdf0ff6a4881ccc81 /lingucomponent
parent349b2c2de1d3cdcfa809bdd538b3dfb743a8513c (diff)
no need to count, just find
Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/lingutil/lingutil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx
index a8b3a90c5a80..6afd28c53905 100644
--- a/lingucomponent/source/lingutil/lingutil.cxx
+++ b/lingucomponent/source/lingutil/lingutil.cxx
@@ -218,7 +218,7 @@ void MergeNewStyleDicsAndOldStyleDics(
}
// language not yet added?
- if (aNewStyleLanguages.count( nLang ) == 0)
+ if (aNewStyleLanguages.find( nLang ) == aNewStyleLanguages.end())
rNewStyleDics.push_back( *aIt2 );
}
else