provide static GetLanguageEntryCount() and GetLanguageTypeAtIndex()

Change-Id: I89dc5d25b37169ebc1581ebf957d33dd7b0e204c
This commit is contained in:
Eike Rathke 2014-05-06 14:19:42 +01:00
parent 2a3d009f69
commit a9ff01648a
2 changed files with 12 additions and 0 deletions

View File

@ -49,6 +49,8 @@ public:
static OUString GetLanguageString( const LanguageType eType );
static OUString GetLanguageString( const LanguageType eType, bool bUserInterfaceSelection );
static LanguageType GetLanguageType( const OUString& rStr );
static sal_uInt32 GetLanguageEntryCount();
static LanguageType GetLanguageTypeAtIndex( sal_uInt32 nIndex );
};
// Add LRE or RLE embedding characters to the string based on the

View File

@ -192,6 +192,11 @@ sal_uInt32 SvtLanguageTable::GetEntryCount() const
return Count();
}
sal_uInt32 SvtLanguageTable::GetLanguageEntryCount()
{
return theLanguageTable::get().GetEntryCount();
}
LanguageType SvtLanguageTable::GetTypeAtIndex( sal_uInt32 nIndex ) const
@ -202,6 +207,11 @@ LanguageType SvtLanguageTable::GetTypeAtIndex( sal_uInt32 nIndex ) const
return nType;
}
LanguageType SvtLanguageTable::GetLanguageTypeAtIndex( sal_uInt32 nIndex )
{
return theLanguageTable::get().GetTypeAtIndex( nIndex);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */