diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-11-12 16:01:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-11-12 16:02:22 +0200 |
commit | 88f55bea92cee46738b7fe6f206f0597edfadce5 (patch) | |
tree | 11c2954b46a6af0ee610c0e4b7cd0f868bad3adf /comphelper/source | |
parent | 9c5d3e5c59a9d0ffcb5fd99f5d4c98b0f6b5560e (diff) |
Add a SAL_INFO() when changing the global "lok" language tag
Change-Id: I229bb2cce38c3f67724802e31edff73e313b7457
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/lok.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index 2f6a2c151370..5934ed58c297 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -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() |