summaryrefslogtreecommitdiff
path: root/linguistic/source/spelldsp.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-01-25 09:57:01 +0000
committerThomas Lange <tl@openoffice.org>2001-01-25 09:57:01 +0000
commit4bbdb3234a21a4a57d0d7816e25e4bb1b43898ad (patch)
tree68a6af27f8a03eb0143c6e5e428930c2f8abd4a7 /linguistic/source/spelldsp.cxx
parent24d76ebe71553bf88e4cc5bf2e73bb0df87a49a7 (diff)
LinguServiceManager: initial settings for dispatchers finished
Diffstat (limited to 'linguistic/source/spelldsp.cxx')
-rw-r--r--linguistic/source/spelldsp.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 37c3716a057d..8764b43ec2b2 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: spelldsp.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tl $ $Date: 2000-12-22 12:46:23 $
+ * last change: $Author: tl $ $Date: 2001-01-25 10:56:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -726,7 +726,7 @@ void SpellCheckerDispatcher::SetServiceList( const Locale &rLocale,
Sequence< OUString >
- SpellCheckerDispatcher::GetServiceList( const Locale &rLocale )
+ SpellCheckerDispatcher::GetServiceList( const Locale &rLocale ) const
{
MutexGuard aGuard( GetLinguMutex() );
@@ -734,7 +734,8 @@ Sequence< OUString >
// search for entry with that language and use data from that
INT16 nLanguage = LocaleToLanguage( rLocale );
- SeqLangSvcEntry_Spell *pEntry = aSvcList.Seek( nLanguage );
+ SpellCheckerDispatcher *pThis = (SpellCheckerDispatcher *) this;
+ const SeqLangSvcEntry_Spell *pEntry = pThis->aSvcList.Seek( nLanguage );
if (pEntry)
aRes = pEntry->aSvcImplNames;
@@ -742,5 +743,12 @@ Sequence< OUString >
}
+SpellCheckerDispatcher::DspType
+ SpellCheckerDispatcher::GetDspType() const
+{
+ return DSP_SPELL;
+}
+
+
///////////////////////////////////////////////////////////////////////////