summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-06-01 09:34:48 +0000
committerThomas Lange <tl@openoffice.org>2001-06-01 09:34:48 +0000
commiteb9b8aaa7bb8a85fb8e27bcc4e389ca69a7ae7ce (patch)
tree4b931f4a32211a799f3852444f91303376e6ce94 /starmath/inc
parente6cb197d6212872b5781ee5544540eceb5a0fabc (diff)
#85869# EditEngine and EditEngineItemPool now obtained from the document via the active shell
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/edit.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index 91a40d69c16d..848e85bb6362 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edit.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: tl $ $Date: 2001-03-08 09:22:29 $
+ * last change: $Author: tl $ $Date: 2001-06-01 10:31:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,8 +90,6 @@ class Menu;
class SmEditWindow: public Window
{
- EditEngine *pEditEngine;
- SfxItemPool *pEditEngineItemPool;
EditView *pEditView;
ScrollBar *pHScrollBar,
*pVScrollBar;
@@ -126,9 +124,10 @@ class SmEditWindow: public Window
Rectangle AdjustScrollBars();
void SetScrollBarRanges();
void InitScrollBars();
- void ImplSetFont();
- void SetEditEngine( EditEngine *pEng, SfxItemPool *pPool );
+ SmDocShell * GetDoc();
+ EditEngine * GetEditEngine();
+ SfxItemPool * GetEditEngineItemPool();
public:
SmEditWindow( Window *pParent );
@@ -159,6 +158,7 @@ public:
BOOL HasMark(const String &rText) const;
void Flush();
+ void DeleteEditView( SmViewShell &rView );
};