diff options
author | Dieter Loeschky <dl@openoffice.org> | 2000-09-20 14:54:01 +0000 |
---|---|---|
committer | Dieter Loeschky <dl@openoffice.org> | 2000-09-20 14:54:01 +0000 |
commit | a75d0e2478047fdc08d561a8a78befe5eecbde69 (patch) | |
tree | 88eece3f8d6f4d0fcd7ab7940d215e898ec5be54 /sd | |
parent | f718e27594744196c153423df3c269a1e76c1def (diff) |
cleanups
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index f3f858960fd4..a60dd2941e30 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outlnvsh.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2000-09-20 15:42:41 $ + * last change: $Author: dl $ $Date: 2000-09-20 15:54:01 $ * * Copyright according the GNU Public License. * @@ -575,7 +575,7 @@ void __EXPORT SdOutlineViewShell::GetCtrlState(SfxItemSet &rSet) SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_PREVIEW_QUALITY_BLACKWHITE ) ) { USHORT nId = SdPreviewChildWindow::GetChildWindowId(); - if( SFX_APP()->GetChildWindow( nId ) ) + if( GetViewFrame()->GetChildWindow( nId ) ) { ULONG nMode = pFrameView->GetPreviewDrawMode(); rSet.Put( SfxBoolItem( SID_PREVIEW_QUALITY_COLOR, (BOOL)(nMode == PREVIEW_DRAWMODE_COLOR) ) ); @@ -833,7 +833,7 @@ void SdOutlineViewShell::GetMenuState( SfxItemSet &rSet ) if ( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_PRESENTATION ) ) { - SfxChildWindow* pPreviewChildWindow = SFX_APP()->GetChildWindow(SdPreviewChildWindow::GetChildWindowId()); + SfxChildWindow* pPreviewChildWindow = GetViewFrame()->GetChildWindow(SdPreviewChildWindow::GetChildWindowId()); SdPreviewWin* pPreviewWin = (SdPreviewWin*) ( pPreviewChildWindow ? pPreviewChildWindow->GetWindow() : NULL ); FuSlideShow* pShow = pPreviewWin ? pPreviewWin->GetSlideShow() : NULL; @@ -1063,7 +1063,7 @@ void SdOutlineViewShell::GetMenuState( SfxItemSet &rSet ) if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_PREVIEW_WIN ) ) { USHORT nId = SdPreviewChildWindow::GetChildWindowId(); - rSet.Put( SfxBoolItem( SID_PREVIEW_WIN, SFX_APP()->HasChildWindow( nId ) ) ); + rSet.Put( SfxBoolItem( SID_PREVIEW_WIN, GetViewFrame()->HasChildWindow( nId ) ) ); } if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_PREVIEW_STATE ) ) { @@ -1971,7 +1971,7 @@ void SdOutlineViewShell::UpdatePreview() // vom ShowWindow der DiaShow? // ggfs. Preview den neuen Kontext mitteilen SfxChildWindow* pPreviewChildWindow = - SFX_APP()->GetChildWindow(SdPreviewChildWindow::GetChildWindowId()); + GetViewFrame()->GetChildWindow(SdPreviewChildWindow::GetChildWindowId()); if (pPreviewChildWindow) { SdPreviewWin* pPreviewWin = |