summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-05-02 14:09:02 +0000
committerRüdiger Timm <rt@openoffice.org>2006-05-02 14:09:02 +0000
commite7e853d952cec09f21de4a8cfeb1e0f32153ca2a (patch)
treec4d829c93933baed424140d246dcd1cc9b23c421 /sd/source/ui/view/sdview.cxx
parent24a7703fcdb04c7a61725685defb9603175c9153 (diff)
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
Diffstat (limited to 'sd/source/ui/view/sdview.cxx')
-rw-r--r--sd/source/ui/view/sdview.cxx23
1 files changed, 2 insertions, 21 deletions
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