summaryrefslogtreecommitdiff
path: root/svx/source/editeng/impedit.hxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2000-12-05 10:05:15 +0000
committerMalte Timmermann <mt@openoffice.org>2000-12-05 10:05:15 +0000
commitaae4d1edbfcfa866b4ca6227f394c7c699841fe1 (patch)
tree520ca3f2874c2c05aadba7cca27d013aa2910e94 /svx/source/editeng/impedit.hxx
parent5c2e363d6822476d01193f89b8c93b36e10260f3 (diff)
#81265# No more default language, use items
Diffstat (limited to 'svx/source/editeng/impedit.hxx')
-rw-r--r--svx/source/editeng/impedit.hxx17
1 files changed, 6 insertions, 11 deletions
diff --git a/svx/source/editeng/impedit.hxx b/svx/source/editeng/impedit.hxx
index d129f60970f6..a2342132b0a9 100644
--- a/svx/source/editeng/impedit.hxx
+++ b/svx/source/editeng/impedit.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impedit.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: mt $ $Date: 2000-11-29 15:55:47 $
+ * last change: $Author: mt $ $Date: 2000-12-05 11:05:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -389,14 +389,10 @@ private:
sal_uInt16 nBigTextObjectStart;
::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XSpellChecker1 > xSpeller;
+ ::com::sun::star::linguistic2::XSpellChecker1 > xSpeller;
::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XHyphenator > xHyphenator;
+ ::com::sun::star::linguistic2::XHyphenator > xHyphenator;
SpellInfo* pSpellInfo;
- LanguageType eDefaultLanguage; // aktuelle Sprache (des Wortes) wird immer
- // zusammen mit dem Wort fuer die neuen
- // Lingu Interfaces benoetigt.
-// ::com::sun::star::lang::Locale aDefaultLocale;
::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > xBI;
XubString aAutoCompleteText;
@@ -773,9 +769,8 @@ public:
{ xHyphenator = xHyph; }
SpellInfo* GetSpellInfo() const { return pSpellInfo; }
- void SetLanguage( LanguageType eLang ) { eDefaultLanguage = eLang;}
- LanguageType GetLanguage() const { return eDefaultLanguage; }
- ::com::sun::star::lang::Locale GetLocale( const EditPaM& rPaM );
+ LanguageType GetLanguage( const EditPaM& rPaM ) const;
+ ::com::sun::star::lang::Locale GetLocale( const EditPaM& rPaM ) const;
void DoOnlineSpelling( ContentNode* pThisNodeOnly = 0, sal_Bool bSpellAtCursorPos = sal_False, sal_Bool bInteruptable = sal_True );
EESpellState Spell( EditView* pEditView, sal_Bool bMultipleDoc );