summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews4.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-09-21 15:12:50 +0000
committerKai Ahrens <ka@openoffice.org>2000-09-21 15:12:50 +0000
commitabfcdf776c3d9111ac311f15fbbbf5c3d3a7c7c3 (patch)
tree70903a71534a928323dd35ec8bd0df1ec7b7d82b /sd/source/ui/view/drviews4.cxx
parent9112386dd35c3a51c5b5a29a180d1626c50fdcad (diff)
SFX_BINDINGS/SFX_DISPATCHER macros removed
Diffstat (limited to 'sd/source/ui/view/drviews4.cxx')
-rw-r--r--sd/source/ui/view/drviews4.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 978582ce84db..c812cbd17121 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drviews4.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:43 $
+ * last change: $Author: ka $ $Date: 2000-09-21 16:12:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -426,7 +426,7 @@ void SdDrawViewShell::MouseButtonUp(const MouseEvent& rMEvt, SdWindow* pWin)
pDrView->EndAction();
if (bIsSetPageOrg)
- SFX_BINDINGS().Invalidate(SID_RULER_NULL_OFFSET);
+ GetViewFrame()->GetBindings().Invalidate(SID_RULER_NULL_OFFSET);
}
else if (rMEvt.IsLeft() && bIsSetPageOrg)
{
@@ -434,7 +434,7 @@ void SdDrawViewShell::MouseButtonUp(const MouseEvent& rMEvt, SdWindow* pWin)
SdPage* pPage = (SdPage*) pDrView->GetPageViewPvNum(0)->GetPage();
Point aOrg(pPage->GetLftBorder(), pPage->GetUppBorder());
pDrView->GetPageViewPvNum(0)->SetPageOrigin(aOrg);
- SFX_BINDINGS().Invalidate(SID_RULER_NULL_OFFSET);
+ GetViewFrame()->GetBindings().Invalidate(SID_RULER_NULL_OFFSET);
}
else
{
@@ -778,10 +778,12 @@ void SdDrawViewShell::ShowMousePosInfo(const Rectangle& rRect, SdWindow* pWin)
// GetStatusBarState(aSet); nicht performant bei gedrueckter Modifiertaste!!
aSet.Put( SfxStringItem( SID_CONTEXT, pDrView->GetStatusText() ) );
- SFX_BINDINGS().SetState(aSet);
- SFX_BINDINGS().Invalidate(SID_CONTEXT);
- SFX_BINDINGS().Invalidate(SID_ATTR_POSITION);
- SFX_BINDINGS().Invalidate(SID_ATTR_SIZE);
+
+ SfxBindings& rBindings = GetViewFrame()->GetBindings();
+ rBindings.SetState(aSet);
+ rBindings.Invalidate(SID_CONTEXT);
+ rBindings.Invalidate(SID_ATTR_POSITION);
+ rBindings.Invalidate(SID_ATTR_SIZE);
}
}