diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-02-26 16:03:47 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-02-28 13:50:51 +0100 |
commit | 0aa27161cefed6f139d6945a3785ee6587e4c9ec (patch) | |
tree | 80192afd1f5d734d5b32f88de221d789a48efae7 /comphelper/source | |
parent | 074120445876d1451995c8459769af76c375a0bf (diff) |
change SAL_WARN to SAL_INFO when language is not set
Change this, so we don't fill the console with warnings.
Change-Id: I089113207be99b50b15cf292cae3e929f9edff26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89556
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit af17b2cd26a1e36edf0b995f81a2e0757086dad1)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89676
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/lok.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index 2deb105d8e02..c4e5b8e23979 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -209,7 +209,7 @@ void setLocale(const LanguageTag& rLanguageTag) const LanguageTag& getLocale() { const LanguageTag& rLocale = g_aLanguageAndLocale.getLocale(); - SAL_WARN_IF(rLocale.getLanguageType() == LANGUAGE_NONE, "comphelper.lok", "Locale not set"); + SAL_INFO_IF(rLocale.getLanguageType() == LANGUAGE_NONE, "comphelper.lok", "Locale not set"); return rLocale; } @@ -221,7 +221,7 @@ void setLanguageTag(const LanguageTag& rLanguageTag) const LanguageTag& getLanguageTag() { const LanguageTag& rLanguage = g_aLanguageAndLocale.getLanguage(); - SAL_WARN_IF(rLanguage.getLanguageType() == LANGUAGE_NONE, "comphelper.lok", "Language not set"); + SAL_INFO_IF(rLanguage.getLanguageType() == LANGUAGE_NONE, "comphelper.lok", "Language not set"); return rLanguage; } |