From 22dc925e3580de0a33e61f91fbce654016d31343 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 12 Sep 2013 19:03:06 +0200 Subject: no need to count, just find Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53 --- lingucomponent/source/lingutil/lingutil.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lingucomponent') 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 -- cgit v1.2.3