Kaydet (Commit) 931e4070 authored tarafından Eike Rathke's avatar Eike Rathke

added registerImpl() debug counter

Change-Id: I84a79cbbbe06bdf1ae9e77d9cb5d429c6750fe21
üst cf417c2c
...@@ -665,6 +665,12 @@ LanguageTag::ImplPtr LanguageTag::registerImpl() const ...@@ -665,6 +665,12 @@ LanguageTag::ImplPtr LanguageTag::registerImpl() const
// methods as they may create temporary LanguageTag instances. Only // methods as they may create temporary LanguageTag instances. Only
// LanguageTagImpl::convertToBcp47(Locale) is ok. // LanguageTagImpl::convertToBcp47(Locale) is ok.
#if OSL_DEBUG_LEVEL > 0
static size_t nAccesses = 0;
++nAccesses;
SAL_INFO( "i18nlangtag", "LanguageTagImpl::registerImpl: " << nAccesses << " calls");
#endif
ImplPtr pImpl; ImplPtr pImpl;
// Do not register unresolved system locale, also force LangID if system. // Do not register unresolved system locale, also force LangID if system.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment