[Libreoffice-commits] core.git: i18nlangtag/source
Stephan Bergmann
sbergman at redhat.com
Mon Jul 17 15:22:11 UTC 2017
i18nlangtag/source/isolang/inwnt.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 832f3e3dfd1164fbe58c684e5b4c3cfb8d1baad7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jul 17 17:21:30 2017 +0200
loplugin:unnecessaryparen: i18nlangtag (clang-cl)
Change-Id: I77d010932d8d56ce295a88d63bee96a9219d4a4d
diff --git a/i18nlangtag/source/isolang/inwnt.cxx b/i18nlangtag/source/isolang/inwnt.cxx
index 8521e5469924..6ad9b54e8630 100644
--- a/i18nlangtag/source/isolang/inwnt.cxx
+++ b/i18nlangtag/source/isolang/inwnt.cxx
@@ -60,12 +60,12 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage,
{
LANGID nLangId;
- nLangId = (pGetUserDefault)();
+ nLangId = pGetUserDefault();
nLang = GetSVLang( nLangId );
if ( nLang == LANGUAGE_DONTKNOW )
{
- nLangId = (pGetSystemDefault)();
+ nLangId = pGetSystemDefault();
nLang = GetSVLang( nLangId );
}
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
More information about the Libreoffice-commits
mailing list