[Libreoffice-commits] core.git: svtools/langsupport
Eike Rathke
erack at redhat.com
Tue May 6 06:40:21 PDT 2014
svtools/langsupport/langsupport.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 2d8694c2f9cef9eddeb2184b40045099dadbab90
Author: Eike Rathke <erack at redhat.com>
Date: Tue May 6 14:36:33 2014 +0100
ditch the last temporary SvtLanguageTable instance
Change-Id: I66a9d45089039c332b3fe7e279a27b81f8bb4aea
diff --git a/svtools/langsupport/langsupport.cxx b/svtools/langsupport/langsupport.cxx
index 258364b..9dbc90e 100644
--- a/svtools/langsupport/langsupport.cxx
+++ b/svtools/langsupport/langsupport.cxx
@@ -38,12 +38,10 @@ SAL_IMPLEMENT_MAIN()
InitVCL();
{
- SvtLanguageTable aTable;
-
- sal_uInt32 nCount = aTable.GetEntryCount();
+ sal_uInt32 nCount = SvtLanguageTable::GetLanguageEntryCount();
for (sal_uInt32 i = 0; i < nCount; ++i)
{
- LanguageType eLang = aTable.GetTypeAtIndex(i);
+ LanguageType eLang = SvtLanguageTable::GetLanguageTypeAtIndex(i);
if (eLang == LANGUAGE_DONTKNOW ||
eLang == LANGUAGE_NONE ||
More information about the Libreoffice-commits
mailing list