summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-05-06 14:19:42 +0100
committerEike Rathke <erack@redhat.com>2014-05-06 14:22:13 +0100
commita9ff01648ac19fa0f11ceaa2dfd2f4a475b4008c (patch)
tree21afb5a3c7338415030599e219372a2f47e63cb5 /svtools
parent2a3d009f697e0275ed4bf668179581c774dc1196 (diff)
provide static GetLanguageEntryCount() and GetLanguageTypeAtIndex()
Change-Id: I89dc5d25b37169ebc1581ebf957d33dd7b0e204c
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/langtab.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index 236f07483f02..2cd2994753d7 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -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: */