Kaydet (Commit) 88f55bea authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add a SAL_INFO() when changing the global "lok" language tag

Change-Id: I229bb2cce38c3f67724802e31edff73e313b7457
üst 9c5d3e5c
......@@ -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
......
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