summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/ViewShellBase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc/ViewShellBase.hxx')
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index e693e6183065..038de7685c9f 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -102,8 +102,8 @@ public:
*/
static ViewShellBase* GetViewShellBase (SfxViewFrame* pFrame);
- DrawDocShell* GetDocShell (void) const;
- SdDrawDocument* GetDocument (void) const;
+ DrawDocShell* GetDocShell (void) const { return mpDocShell;}
+ SdDrawDocument* GetDocument (void) const { return mpDocument;}
/** Callback function for general slot calls. At the moment these are
slots for switching the pane docking windows on and off.