diff options
Diffstat (limited to 'sw/inc/docsh.hxx')
-rw-r--r-- | sw/inc/docsh.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 53a801c2090f..3b3e0bec921a 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -36,6 +36,7 @@ class SfxDocumentInfoDialog; class SfxStyleSheetBasePool; class SfxInPlaceClient; class FontList; +class SwEditShell; class SwView; class SwWrtShell; class SwFEShell; @@ -218,6 +219,9 @@ public: /// Accress to the SwWrtShell belonging to SwView. SwWrtShell *GetWrtShell() { return mpWrtShell; } const SwWrtShell *GetWrtShell() const { return mpWrtShell; } + // Same as GetWrtShell, but return pointer to SwEditShell base of + // (potentially incomplete) SwWrtShell: + SwEditShell * GetEditShell(); /// For Core - it knows the DocShell but not the WrtShell! SwFEShell *GetFEShell(); |