Add a SAL_INFO() when changing the global "lok" language tag
Change-Id: I229bb2cce38c3f67724802e31edff73e313b7457
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <comphelper/lok.hxx>
|
||||
#include <i18nlangtag/languagetag.hxx>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
@@ -133,7 +134,10 @@ bool isLocalRendering()
|
||||
void setLanguageTag(const LanguageTag& languageTag)
|
||||
{
|
||||
if (g_aLanguageTag != languageTag)
|
||||
{
|
||||
SAL_INFO("comphelper.lok", "setLanguageTag: from " << g_aLanguageTag.getBcp47() << " to " << languageTag.getBcp47());
|
||||
g_aLanguageTag = languageTag;
|
||||
}
|
||||
}
|
||||
|
||||
const LanguageTag& getLanguageTag()
|
||||
|
@@ -98,6 +98,7 @@ certain functionality.
|
||||
@li @c comphelper.backupfilehelper
|
||||
@li @c comphelper.container - EmbeddedObjectContainer
|
||||
@li @c comphelper.crypto
|
||||
@li @c comphelper.lok
|
||||
|
||||
@section cppu
|
||||
|
||||
|
Reference in New Issue
Block a user