diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-09-22 17:57:10 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-09-22 17:57:10 +0000 |
commit | 73bfc5b70621dd814546598631653003b14af923 (patch) | |
tree | 1e589b0f89b29e930ff6947f53820645387e48c2 /sc/source/ui/view/tabcont.cxx | |
parent | 68e3ba07ad818520fabd9a35985be210756ad432 (diff) |
bindings / dispatcher changes
Diffstat (limited to 'sc/source/ui/view/tabcont.cxx')
-rw-r--r-- | sc/source/ui/view/tabcont.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index f79d9f4d1e63..b25d71297859 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tabcont.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:45:09 $ + * last change: $Author: nn $ $Date: 2000-09-22 18:37:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -250,17 +250,18 @@ void __EXPORT ScTabControl::Select() pDoc->ExtendMarksFromTable( nPage ); */ - if (SFX_DISPATCHER().IsLocked()) + SfxDispatcher& rDisp = pViewData->GetDispatcher(); + if (rDisp.IsLocked()) pViewData->GetView()->SetTabNo( nPage ); else { // Tabelle fuer Basic ist 1-basiert SfxUInt16Item aItem( SID_CURRENTTAB, nPage + 1 ); - SFX_DISPATCHER().Execute( SID_CURRENTTAB, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, + rDisp.Execute( SID_CURRENTTAB, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, &aItem, (void*) NULL ); } - SfxBindings& rBind = SFX_BINDINGS(); + SfxBindings& rBind = pViewData->GetBindings(); rBind.Invalidate( FID_FILL_TAB ); rBind.Invalidate( FID_INS_TABLE ); |