callcatcher: remove unused MsLangId::convertIsoByteStringToLanguage
This commit is contained in:
parent
097b51c9cc
commit
5d5fbc091c
2 changed files with 0 additions and 22 deletions
|
@ -184,8 +184,6 @@ public:
|
|||
const rtl::OString& rCountry );
|
||||
static LanguageType convertIsoStringToLanguage(
|
||||
const rtl::OUString& rString, sal_Unicode cSep = '-' );
|
||||
static LanguageType convertIsoByteStringToLanguage(
|
||||
const rtl::OString& rString, sal_Char cSep = '-' );
|
||||
static LanguageType convertUnxByteStringToLanguage(
|
||||
const rtl::OString& rString );
|
||||
|
||||
|
|
|
@ -1012,26 +1012,6 @@ LanguageType MsLangId::convertIsoStringToLanguage(
|
|||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
// static
|
||||
LanguageType MsLangId::convertIsoByteStringToLanguage(
|
||||
const rtl::OString& rString, sal_Char cSep )
|
||||
{
|
||||
rtl::OString aLang;
|
||||
rtl::OString aCountry;
|
||||
sal_Int32 nSepPos = rString.indexOf( cSep );
|
||||
if ( nSepPos >= 0 )
|
||||
{
|
||||
aLang = rString.copy( 0, nSepPos );
|
||||
aCountry = rString.copy( nSepPos+1 );
|
||||
}
|
||||
else
|
||||
aLang = rString;
|
||||
|
||||
return convertIsoNamesToLanguage( aLang, aCountry );
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
struct IsoLangGLIBCModifiersEntry
|
||||
{
|
||||
LanguageType mnLang;
|
||||
|
|
Loading…
Reference in a new issue