summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/idxmrk.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2002-08-09 10:39:37 +0000
committerIngrid Halama <iha@openoffice.org>2002-08-09 10:39:37 +0000
commitddc263bf95566b6d1657276fa10e181d449a62f2 (patch)
tree363a53f49c4ea6806f627106b4667c56ab22b0ae /sw/source/ui/index/idxmrk.cxx
parent35d39936afeb1c603d84077e16010e9aabe4ec06 (diff)
#99877# do not disable phonetic reading dependent on the current language
Diffstat (limited to 'sw/source/ui/index/idxmrk.cxx')
-rw-r--r--sw/source/ui/index/idxmrk.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/source/ui/index/idxmrk.cxx b/sw/source/ui/index/idxmrk.cxx
index dfce04737e32..1abcffedc5af 100644
--- a/sw/source/ui/index/idxmrk.cxx
+++ b/sw/source/ui/index/idxmrk.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: idxmrk.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: iha $ $Date: 2002-08-08 13:14:10 $
+ * last change: $Author: iha $ $Date: 2002-08-09 11:39:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -458,11 +458,13 @@ void SwIndexMarkDlg::InitControls()
void SwIndexMarkDlg::UpdateLanguageDependenciesForPhoneticReading()
{
- bIsPhoneticReadingEnabled = FALSE;
-
//no phonetic reading if no global cjk support
if( !xExtendedIndexEntrySupplier.is() )
+ {
+ bIsPhoneticReadingEnabled = FALSE;
return;
+ }
+ bIsPhoneticReadingEnabled = TRUE;
//get the current language
if(!bNewMark) //if dialog is opened to iterate existing marks
@@ -501,12 +503,14 @@ void SwIndexMarkDlg::UpdateLanguageDependenciesForPhoneticReading()
nLangForPhoneticReading = ((const SvxLanguageItem&)aLangSet.Get(nWhich)).GetLanguage();
}
+ /*
//enable phonetic reading dependent on the current language
{
SwBreakIt aBreakIt = SwBreakIt();
lang::Locale& rLocale = aBreakIt.GetLocale( LanguageType( nLangForPhoneticReading ) );
bIsPhoneticReadingEnabled = xExtendedIndexEntrySupplier->usePhoneticEntry( rLocale );
}
+ */
}
String SwIndexMarkDlg::GetDefaultPhoneticReading( const String& rText )