remove unused code from i18nlangtag/LanguageTag
Specifically: LanguageTag::LanguageTag() LanguageTag::getRegion() const LanguageTag::reset(_rtl_Locale const&) Change-Id: I8822db6e1df7cd912e9ae82cb9d9f51370d4c583
This commit is contained in:
@@ -507,18 +507,6 @@ LanguageTag::LanguageTag( LanguageType nLanguage )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LanguageTag::LanguageTag()
|
|
||||||
:
|
|
||||||
mnLangID( LANGUAGE_DONTKNOW),
|
|
||||||
mbSystemLocale( false),
|
|
||||||
mbInitializedBcp47( false),
|
|
||||||
mbInitializedLocale( false),
|
|
||||||
mbInitializedLangID( true),
|
|
||||||
mbIsFallback( false)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LanguageTag::LanguageTag( const OUString& rBcp47, const OUString& rLanguage,
|
LanguageTag::LanguageTag( const OUString& rBcp47, const OUString& rLanguage,
|
||||||
const OUString& rScript, const OUString& rCountry )
|
const OUString& rScript, const OUString& rCountry )
|
||||||
:
|
:
|
||||||
@@ -1067,14 +1055,6 @@ LanguageTag & LanguageTag::reset( LanguageType nLanguage )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LanguageTag & LanguageTag::reset( const rtl_Locale & rLocale )
|
|
||||||
{
|
|
||||||
reset( lang::Locale( rLocale.Language, rLocale.Country, rLocale.Variant));
|
|
||||||
convertFromRtlLocale();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool LanguageTagImpl::canonicalize()
|
bool LanguageTagImpl::canonicalize()
|
||||||
{
|
{
|
||||||
#ifdef erDEBUG
|
#ifdef erDEBUG
|
||||||
@@ -1889,14 +1869,6 @@ OUString LanguageTagImpl::getRegion() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
OUString LanguageTag::getRegion() const
|
|
||||||
{
|
|
||||||
OUString aRet( getImpl()->getRegion());
|
|
||||||
const_cast<LanguageTag*>(this)->syncFromImpl();
|
|
||||||
return aRet;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
OUString LanguageTagImpl::getVariants() const
|
OUString LanguageTagImpl::getVariants() const
|
||||||
{
|
{
|
||||||
if (!mbCachedVariants)
|
if (!mbCachedVariants)
|
||||||
|
@@ -76,12 +76,6 @@ public:
|
|||||||
/** Init LanguageTag with LanguageType MS-LangID. */
|
/** Init LanguageTag with LanguageType MS-LangID. */
|
||||||
explicit LanguageTag( LanguageType nLanguage );
|
explicit LanguageTag( LanguageType nLanguage );
|
||||||
|
|
||||||
/** Default ctor, init LanguageTag with LanguageType LANGUAGE_DONTKNOW.
|
|
||||||
|
|
||||||
To be able to use LanguageTag in maps etc., avoid otherwise.
|
|
||||||
*/
|
|
||||||
explicit LanguageTag();
|
|
||||||
|
|
||||||
/** Init LanguageTag with either BCP 47 language tag (precedence if not
|
/** Init LanguageTag with either BCP 47 language tag (precedence if not
|
||||||
empty), or a combination of language, script and country.
|
empty), or a combination of language, script and country.
|
||||||
|
|
||||||
@@ -181,13 +175,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
OUString getCountry() const;
|
OUString getCountry() const;
|
||||||
|
|
||||||
/** Get BCP 47 region tag, which may be an ISO 3166 country alpha code or
|
|
||||||
any other BCP 47 region tag.
|
|
||||||
|
|
||||||
Always resolves an empty tag to the system locale.
|
|
||||||
*/
|
|
||||||
OUString getRegion() const;
|
|
||||||
|
|
||||||
/** Get BCP 47 variant subtags, of the IANA Language Subtag Registry.
|
/** Get BCP 47 variant subtags, of the IANA Language Subtag Registry.
|
||||||
|
|
||||||
If there are multiple variant subtags they are separated by '-'.
|
If there are multiple variant subtags they are separated by '-'.
|
||||||
@@ -258,9 +245,6 @@ public:
|
|||||||
/** Reset with LanguageType MS-LangID. */
|
/** Reset with LanguageType MS-LangID. */
|
||||||
LanguageTag & reset( LanguageType nLanguage );
|
LanguageTag & reset( LanguageType nLanguage );
|
||||||
|
|
||||||
/** Reset with rtl_Locale. */
|
|
||||||
LanguageTag & reset( const rtl_Locale & rLocale );
|
|
||||||
|
|
||||||
|
|
||||||
/** Fall back to a known locale.
|
/** Fall back to a known locale.
|
||||||
|
|
||||||
|
@@ -30,9 +30,6 @@ ImportExcel::GetLastFormula(short)
|
|||||||
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Json, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Json> > > const&)
|
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Json, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Json> > > const&)
|
||||||
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<libcmis::Property>, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, boost::shared_ptr<libcmis::Property> > > > const&)
|
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<libcmis::Property>, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, boost::shared_ptr<libcmis::Property> > > > const&)
|
||||||
Json::swap(Json&)
|
Json::swap(Json&)
|
||||||
LanguageTag::LanguageTag()
|
|
||||||
LanguageTag::getRegion() const
|
|
||||||
LanguageTag::reset(_rtl_Locale const&)
|
|
||||||
ListBox::GetMRUCount() const
|
ListBox::GetMRUCount() const
|
||||||
MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short)
|
MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short)
|
||||||
MenuBar::GetMenuBarButtonRectPixel(unsigned short)
|
MenuBar::GetMenuBarButtonRectPixel(unsigned short)
|
||||||
|
Reference in New Issue
Block a user