From 2aa9db44759ca5317d455d2f50e1cb1f53e01624 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 6 Dec 2014 00:38:05 +0100 Subject: loplugin:cstylecast, involving pointer to incomplete type Change-Id: Idab944f3b9a93258b7f58a33e8a2a2c69448c7d8 --- sw/inc/docsh.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sw/inc') 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(); -- cgit