summaryrefslogtreecommitdiff
path: root/sw/inc/crsrsh.hxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-10-25 10:53:58 +0000
committerjp <jp@openoffice.org>2000-10-25 10:53:58 +0000
commiteb713c1a062810c6a1ca5cd59ca565c54475647c (patch)
tree76a630e72d190b0ee285be5f9614a0516af5354c /sw/inc/crsrsh.hxx
parentf4d5248af92f4c0f8e4dd22df9209360d553fe87 (diff)
remove SpellChecker/Hyphenator as member and as param. of the CTOR
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r--sw/inc/crsrsh.hxx25
1 files changed, 6 insertions, 19 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 523d8de73309..63f30dbf6f21 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: crsrsh.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:14:25 $
+ * last change: $Author: jp $ $Date: 2000-10-25 11:53:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,15 +70,6 @@
#ifndef _RTTI_HXX //autogen
#include <tools/rtti.hxx>
#endif
-#ifndef _WORDSEL_HXX //autogen
-#include <svtools/wordsel.hxx>
-#endif
-#ifndef _COM_SUN_STAR_LINGUISTIC_XSPELLCHECKER1_HPP_
-#include <com/sun/star/linguistic/XSpellChecker1.hpp>
-#endif
-#ifndef _COM_SUN_STAR_LINGUISTIC_XHYPHENATOR_HPP_
-#include <com/sun/star/linguistic/XHyphenator.hpp>
-#endif
#ifndef _SWTYPES_HXX
#include <swtypes.hxx> // fuer SWPOSDOC
@@ -347,15 +338,11 @@ protected:
public:
TYPEINFO();
- SwCrsrShell( SwDoc *pDoc,
- ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic::XSpellChecker1> xSpell,
- ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic::XHyphenator> xHyph,
- Window *pWin, SwRootFrm * = 0, const SwViewOption *pOpt = 0 );
+ SwCrsrShell( SwDoc& rDoc, Window *pWin,
+ SwRootFrm * = 0, const SwViewOption *pOpt = 0 );
// verkleideter Copy-Constructor
- SwCrsrShell( SwCrsrShell* pShell, Window *pWin );
- ~SwCrsrShell();
+ SwCrsrShell( SwCrsrShell& rShell, Window *pWin );
+ virtual ~SwCrsrShell();
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);