diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-03 13:01:08 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-03 13:01:08 +0000 |
commit | 9ebccf365791cc7eb1397bc79bc9dcccd9af84cc (patch) | |
tree | 9ff9b47346e31c3225617660291841514274c431 | |
parent | 6371f30bcdc8a5329020f1695d6f20b36662c8a9 (diff) |
INTEGRATION: CWS locales23 (1.92.96); FILE MERGED
2007/06/18 18:17:28 er 1.92.96.2: RESYNC: (1.92-1.94); FILE MERGED
2007/05/10 15:13:54 er 1.92.96.1: #i76903# Vietnamese is Latin script, not CTL
-rw-r--r-- | svx/source/dialog/chardlg.cxx | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/svx/source/dialog/chardlg.cxx b/svx/source/dialog/chardlg.cxx index c71f2ff7c9a6..b82536ecd7b5 100644 --- a/svx/source/dialog/chardlg.cxx +++ b/svx/source/dialog/chardlg.cxx @@ -4,9 +4,9 @@ * * $RCSfile: chardlg.cxx,v $ * - * $Revision: 1.95 $ + * $Revision: 1.96 $ * - * last change: $Author: hr $ $Date: 2007-06-27 16:51:41 $ + * last change: $Author: rt $ $Date: 2007-07-03 14:01:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1234,16 +1234,7 @@ void SvxCharNamePage::Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp LanguageType eLangType = (LanguageType)rItem.GetValue(); DBG_ASSERT( eLangType != LANGUAGE_SYSTEM, "LANGUAGE_SYSTEM not allowed" ); if ( eLangType != LANGUAGE_DONTKNOW ) - { - for ( USHORT i = 0; i < pLangBox->GetEntryCount(); ++i ) - { - if ( (LanguageType)(ULONG)pLangBox->GetEntryData(i) == eLangType ) - { - pLangBox->SelectEntryPos(i); - break; - } - } - } + pLangBox->SelectLanguage( eLangType ); break; } } |