summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 46a2234e0..0eead67b9 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewdata.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:45:10 $
+ * last change: $Author: nn $ $Date: 2000-09-22 18:26:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1601,6 +1601,18 @@ SfxObjectShell* ScViewData::GetSfxDocShell() const
return pDocShell;
}
+SfxBindings& ScViewData::GetBindings()
+{
+ DBG_ASSERT( pViewShell, "GetBindings() without ViewShell" );
+ return pViewShell->GetViewFrame()->GetBindings();
+}
+
+SfxDispatcher& ScViewData::GetDispatcher()
+{
+ DBG_ASSERT( pViewShell, "GetDispatcher() without ViewShell" );
+ return *pViewShell->GetViewFrame()->GetDispatcher();
+}
+
Window* ScViewData::GetDialogParent()
{
DBG_ASSERT( pViewShell, "GetDialogParent() ohne ViewShell" );