diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-21 02:21:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-21 15:24:42 +0200 |
commit | 5799417f70fdee3291467c37c88d1bb0212187a2 (patch) | |
tree | b37709221c14c5ae549545a4062190e816149370 | |
parent | d1b8398c2f68f50550824cbb47fb188a3a818e62 (diff) |
added debug counter to getNextOnTheFlyLanguage()
Change-Id: If2c53309f50b67d9afeb097391f4d20637bee69c
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index be6fa03f13b6..67047c61163e 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -123,6 +123,11 @@ static LanguageType getNextOnTheFlyLanguage() } } } +#if OSL_DEBUG_LEVEL > 0 + static size_t nOnTheFlies = 0; + ++nOnTheFlies; + SAL_INFO( "i18nlangtag", "getNextOnTheFlyLanguage: number " << nOnTheFlies); +#endif return nOnTheFlyLanguage; } |