summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edws.cxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-10-25 11:07:02 +0000
committerjp <jp@openoffice.org>2000-10-25 11:07:02 +0000
commitbcabeabe9e0e5f4049be6dd130af03b739c86e1b (patch)
tree887b60b117ebeec15997ddf1bcb1d9ad86938617 /sw/source/core/edit/edws.cxx
parentd0728bff890cb2de8ebaf2b701734809859c1555 (diff)
Spellchecker/Hyphenator are not longer member of the shells
Diffstat (limited to 'sw/source/core/edit/edws.cxx')
-rw-r--r--sw/source/core/edit/edws.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx
index 6fbf40af8911..a6429eb9c0da 100644
--- a/sw/source/core/edit/edws.cxx
+++ b/sw/source/core/edit/edws.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edws.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-19 00:08:18 $
+ * last change: $Author: jp $ $Date: 2000-10-25 12:01:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,27 +95,23 @@
#include <swundo.hxx>
#endif
-using namespace ::com::sun::star;
-
/********************************************************
* Ctor/Dtor
********************************************************/
// verkleideter Copy-Constructor
-SwEditShell::SwEditShell( SwEditShell *pEdSH, Window *pWin )
- : SwCrsrShell( pEdSH, pWin )
+SwEditShell::SwEditShell( SwEditShell& rEdSH, Window *pWin )
+ : SwCrsrShell( rEdSH, pWin )
{
}
// ctor/dtor
-SwEditShell::SwEditShell(SwDoc *pDoc,
- uno::Reference< linguistic::XSpellChecker1 > xSpell,
- uno::Reference< linguistic::XHyphenator > xHyph,
- Window *pWin, SwRootFrm *pRootFrm, const SwViewOption *pOpt )
- : SwCrsrShell(pDoc, xSpell, xHyph, pWin, pRootFrm, pOpt)
+SwEditShell::SwEditShell( SwDoc& rDoc, Window *pWin, SwRootFrm *pRootFrm,
+ const SwViewOption *pOpt )
+ : SwCrsrShell( rDoc, pWin, pRootFrm, pOpt)
{
GetDoc()->DoUndo();
}