From e7e853d952cec09f21de4a8cfeb1e0f32153ca2a Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 2 May 2006 14:09:02 +0000 Subject: INTEGRATION: CWS sfxcleanup (1.47.32); FILE MERGED 2006/03/24 12:00:07 mba 1.47.32.2: RESYNC: (1.47-1.48); FILE MERGED 2006/02/27 08:26:38 mba 1.47.32.1: #132394#: remove superfluous code --- sd/source/ui/view/sdview.cxx | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'sd/source/ui/view/sdview.cxx') diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 81bbe8881adb..6880fe558fcf 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sdview.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.49 $ * - * last change: $Author: obo $ $Date: 2006-03-21 17:48:11 $ + * last change: $Author: rt $ $Date: 2006-05-02 15:09:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -481,25 +481,6 @@ void View::CompleteRedraw(OutputDevice* pOutDev, const Region& rReg, ::sdr::cont ViewRedirector aViewRedirector; FmFormView::CompleteRedraw(pOutDev, rReg, 0, pRedirector ? pRedirector : &aViewRedirector); - - USHORT nDemoKind = SFX_APP()->GetDemoKind(); - - if ( (nDemoKind == SFX_DEMOKIND_DEMO || nDemoKind == SFX_DEMOKIND_INVALID) - && pOutDev->GetOutDevType() == OUTDEV_PRINTER ) - { - SdrPageView* pPgView = GetPageViewPvNum(0); - - if (pPgView) - { - SdPage* pPage = (SdPage*) pPgView->GetPage(); - - if (pPage) - { - Rectangle aPageRect ( Point(0, 0), pPage->GetSize() ); - SFX_APP()->SpoilDemoOutput(*pOutDev, aPageRect); - } - } - } } // oder speichern? else -- cgit