summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /i18nlangtag
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/isolang/inunx.cxx10
-rw-r--r--i18nlangtag/source/isolang/inwnt.cxx6
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx16
3 files changed, 16 insertions, 16 deletions
diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx
index 44298154e38b..4637c14e39ec 100644
--- a/i18nlangtag/source/isolang/inunx.cxx
+++ b/i18nlangtag/source/isolang/inunx.cxx
@@ -38,7 +38,7 @@
static LanguageType nImplSystemLanguage = LANGUAGE_DONTKNOW;
static LanguageType nImplSystemUILanguage = LANGUAGE_DONTKNOW;
-// -----------------------------------------------------------------------
+
// Get locale of category LC_CTYPE of environment variables
static const sal_Char* getLangFromEnvironment()
@@ -57,7 +57,7 @@ static const sal_Char* getLangFromEnvironment()
return pLang;
}
-// -----------------------------------------------------------------------
+
// Get locale of category LC_MESSAGES of environment variables
static const sal_Char* getUILangFromEnvironment()
@@ -78,7 +78,7 @@ static const sal_Char* getUILangFromEnvironment()
return pLang;
}
-// -----------------------------------------------------------------------
+
typedef const sal_Char * (*getLangFromEnv)();
@@ -120,7 +120,7 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage,
}
}
-// -----------------------------------------------------------------------
+
LanguageType MsLangId::getPlatformSystemLanguage()
{
@@ -128,7 +128,7 @@ LanguageType MsLangId::getPlatformSystemLanguage()
return nImplSystemLanguage;
}
-// -----------------------------------------------------------------------
+
LanguageType MsLangId::getPlatformSystemUILanguage()
{
diff --git a/i18nlangtag/source/isolang/inwnt.cxx b/i18nlangtag/source/isolang/inwnt.cxx
index 293aa78e82ad..750e5a21d79b 100644
--- a/i18nlangtag/source/isolang/inwnt.cxx
+++ b/i18nlangtag/source/isolang/inwnt.cxx
@@ -45,7 +45,7 @@ static LanguageType GetSVLang( LANGID nWinLangId )
return LanguageType( static_cast<sal_uInt16>(nWinLangId & 0xffff));
}
-// -----------------------------------------------------------------------
+
typedef LANGID (WINAPI *getLangFromEnv)();
@@ -79,7 +79,7 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage,
}
}
-// -----------------------------------------------------------------------
+
LanguageType MsLangId::getPlatformSystemLanguage()
{
@@ -88,7 +88,7 @@ LanguageType MsLangId::getPlatformSystemLanguage()
return nImplSystemLanguage;
}
-// -----------------------------------------------------------------------
+
LanguageType MsLangId::getPlatformSystemUILanguage()
{
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 990e25ffd7c7..57690c051e02 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -124,7 +124,7 @@ struct IsoLangOtherEntry
const sal_Char* mpLanguage;
};
-// -----------------------------------------------------------------------
+
// Entries for languages are lower case, for countries upper case, as
// recommended by rfc5646 (obsoletes rfc4646 (obsoletes rfc3066 (obsoletes
@@ -777,7 +777,7 @@ OUString Bcp47CountryEntry::getTagString() const
return lang::Locale( I18NLANGTAG_QLT, OUString::createFromAscii( maCountry), getTagString());
}
-// -----------------------------------------------------------------------
+
// In this table are the countries which should mapped to a specific
// english language
@@ -846,7 +846,7 @@ static IsoLangEngEntry const aImplIsoLangEngEntries[] =
{ LANGUAGE_DONTKNOW, "" } // marks end of table
};
-// -----------------------------------------------------------------------
+
static IsoLangNoneStdEntry const aImplIsoNoneStdLangEntries[] =
{
@@ -859,7 +859,7 @@ static IsoLangNoneStdEntry const aImplIsoNoneStdLangEntries[] =
{ LANGUAGE_DONTKNOW, "", "" } // marks end of table
};
-// -----------------------------------------------------------------------
+
// in this table are only names to find the best language
static IsoLangNoneStdEntry const aImplIsoNoneStdLangEntries2[] =
@@ -870,7 +870,7 @@ static IsoLangNoneStdEntry const aImplIsoNoneStdLangEntries2[] =
{ LANGUAGE_DONTKNOW, "", "" } // marks end of table
};
-// -----------------------------------------------------------------------
+
// in this table are only names to find the best language
static IsoLangOtherEntry const aImplOtherEntries[] =
@@ -980,7 +980,7 @@ Label_Override_Lang_Locale:
// Not found. Passed rLocale argument remains unchanged.
}
-// -----------------------------------------------------------------------
+
// static
com::sun::star::lang::Locale MsLangId::Conversion::getLocale( const IsoLanguageCountryEntry * pEntry )
@@ -1328,7 +1328,7 @@ LanguageType MsLangId::Conversion::convertIsoNamesToLanguage( const OUString& rL
return LANGUAGE_DONTKNOW;
}
-// -----------------------------------------------------------------------
+
// static
LanguageType MsLangId::Conversion::convertIsoNamesToLanguage( const OString& rLang,
@@ -1339,7 +1339,7 @@ LanguageType MsLangId::Conversion::convertIsoNamesToLanguage( const OString& rLa
return convertIsoNamesToLanguage( aLang, aCountry);
}
-// -----------------------------------------------------------------------
+
struct IsoLangGLIBCModifiersEntry
{