summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/viewdata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/viewdata.hxx')
-rw-r--r--sc/source/ui/inc/viewdata.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 6a86e46720e3..34c62927bc87 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -23,6 +23,7 @@
#include "rangelst.hxx"
#include "scdllapi.h"
#include "viewopti.hxx"
+#include "docsh.hxx"
#include <boost/scoped_ptr.hpp>
@@ -232,8 +233,7 @@ public:
ScDocFunc& GetDocFunc() const;
ScDBFunc* GetView() const { return pView; }
ScTabViewShell* GetViewShell() const { return pViewShell; }
-
- SfxObjectShell* GetSfxDocShell() const;
+ SfxObjectShell* GetSfxDocShell() const { return pDocShell; }
SfxBindings& GetBindings(); // from ViewShell's ViewFrame
SfxDispatcher& GetDispatcher(); // from ViewShell's ViewFrame