summaryrefslogtreecommitdiff
path: root/sw/inc/docsh.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-06 00:38:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-07 15:18:07 +0100
commit2aa9db44759ca5317d455d2f50e1cb1f53e01624 (patch)
tree30fd8117c6673f08c08bc1b508e05878fa67de69 /sw/inc/docsh.hxx
parent823c76994204e43736252ee4f05f9c7c590ff347 (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Idab944f3b9a93258b7f58a33e8a2a2c69448c7d8
Diffstat (limited to 'sw/inc/docsh.hxx')
-rw-r--r--sw/inc/docsh.hxx4
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();