diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-12 19:03:06 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-12 19:31:44 +0200 |
commit | 22dc925e3580de0a33e61f91fbce654016d31343 (patch) | |
tree | 900544e7946502795442094fdf0ff6a4881ccc81 /lingucomponent/source/lingutil/lingutil.cxx | |
parent | it's a set, so treat it as such (diff) | |
download | core-22dc925e3580de0a33e61f91fbce654016d31343.tar.gz core-22dc925e3580de0a33e61f91fbce654016d31343.zip |
no need to count, just find
Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
Diffstat (limited to 'lingucomponent/source/lingutil/lingutil.cxx')
-rw-r--r-- | lingucomponent/source/lingutil/lingutil.cxx | 2 |
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 |