diff options
-rw-r--r-- | comphelper/source/misc/lok.cxx | 4 | ||||
-rw-r--r-- | include/sal/log-areas.dox | 1 |
2 files changed, 5 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() diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 7acc54463d0e..c2ff84627248 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -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 |