#i107450#: move GetLanguageString to class SvtLanguageTable
This commit is contained in:
parent
f6b4434260
commit
7f7d13eeaa
2 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,7 @@ public:
|
|||
|
||||
sal_uInt32 GetEntryCount() const;
|
||||
LanguageType GetTypeAtIndex( sal_uInt32 nIndex ) const;
|
||||
static String GetLanguageString( const LanguageType eType );
|
||||
};
|
||||
|
||||
// Add LRE or RLE embedding characters to the string based on the
|
||||
|
|
|
@ -166,6 +166,12 @@ const String& SvtLanguageTable::GetString( const LanguageType eType ) const
|
|||
return aEmptyStr;
|
||||
}
|
||||
|
||||
String SvtLanguageTable::GetLanguageString( LanguageType eType )
|
||||
{
|
||||
static const SvtLanguageTable aLangTable;
|
||||
return aLangTable.GetString( eType );
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
LanguageType SvtLanguageTable::GetType( const String& rStr ) const
|
||||
|
|
Loading…
Reference in a new issue