diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-27 13:19:52 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-27 13:19:52 +0000 |
commit | 72331607d3b1eeeace226692ea23087c7a76246c (patch) | |
tree | 26f0b5c77e3688c2457038bfe548ea21d63f6baf /sd/source/ui/view/WindowUpdater.cxx | |
parent | INTEGRATION: CWS impress27 (1.14.30); FILE MERGED (diff) | |
download | core-72331607d3b1eeeace226692ea23087c7a76246c.tar.gz core-72331607d3b1eeeace226692ea23087c7a76246c.zip |
INTEGRATION: CWS impress27 (1.5.306); FILE MERGED
2004/12/14 15:54:05 af 1.5.306.1: #i38391# Removed support for the preview window.
Diffstat (limited to 'sd/source/ui/view/WindowUpdater.cxx')
-rw-r--r-- | sd/source/ui/view/WindowUpdater.cxx | 52 |
1 files changed, 2 insertions, 50 deletions
diff --git a/sd/source/ui/view/WindowUpdater.cxx b/sd/source/ui/view/WindowUpdater.cxx index c93629bb529c..848632a07633 100644 --- a/sd/source/ui/view/WindowUpdater.cxx +++ b/sd/source/ui/view/WindowUpdater.cxx @@ -2,9 +2,9 @@ * * $RCSfile: WindowUpdater.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2004-01-20 12:41:05 $ + * last change: $Author: rt $ $Date: 2005-01-27 14:19:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -67,12 +67,6 @@ #ifndef SD_WINDOW_HXX #include "Window.hxx" #endif -#ifndef SD_PREVIEW_WINDOW_HXX -#include "PreviewWindow.hxx" -#endif -#ifndef SD_PREVIEW_CHILD_WINDOW_HXX -#include "PreviewChildWindow.hxx" -#endif #include "drawdoc.hxx" #ifndef SD_SHOW_WINDOW_HXX #include "ShowWindow.hxx" @@ -164,48 +158,6 @@ void WindowUpdater::SetDocument (SdDrawDocument* pDocument) -void WindowUpdater::RegisterPreview (void) -{ - RegisterWindow (GetPreviewWindow()); -} - - - - -void WindowUpdater::UnregisterPreview (void) -{ - UnregisterWindow (GetPreviewWindow()); -} - - - - -::Window* WindowUpdater::GetPreviewWindow (void) const -{ - ShowWindow* pShowWindow = NULL; - - // Get the show window of the preview. - if (mpViewShell != NULL) - { - SfxChildWindow* pPreviewChildWindow = - mpViewShell->GetViewFrame()->GetChildWindow ( - PreviewChildWindow::GetChildWindowId()); - if (pPreviewChildWindow != NULL) - { - PreviewWindow* pPreviewWindow = - static_cast<PreviewWindow*> (pPreviewChildWindow->GetWindow()); - if (pPreviewWindow!=NULL - && pPreviewWindow->GetDoc()==mpViewShell->GetDoc()) - pShowWindow = pPreviewWindow->GetShowWindow(); - } - } - - return pShowWindow; -} - - - - void WindowUpdater::Update ( OutputDevice* pDevice, SdDrawDocument* pDocument) const |