summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-26 13:53:00 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-26 13:53:00 +0000
commitcce76c34e21ce70b8cd8983cfb646beb754eb7d8 (patch)
treefca512389f53db0f3bf65fbb75c1eaf9ee645762 /svx
parentb26df4f446a0d3e8922c18efa8afd34105534211 (diff)
INTEGRATION: CWS aw053 (1.8.82); FILE MERGED
2007/09/14 10:37:09 aw 1.8.82.1: #i80528# Removal of draft paint modes
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/sdrpagewindow.cxx21
1 files changed, 2 insertions, 19 deletions
diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx
index 0f24a49d5752..c5ae73d68c89 100644
--- a/svx/source/svdraw/sdrpagewindow.cxx
+++ b/svx/source/svdraw/sdrpagewindow.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sdrpagewindow.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 18:57:52 $
+ * last change: $Author: ihi $ $Date: 2007-11-26 14:53:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -231,7 +231,6 @@ SdrPaintInfoRec* SdrPageWindow::ImpCreateNewPageInfoRec(const Rectangle& rDirtyR
const sal_Bool bPrinter(GetPaintWindow().OutputToPrinter());
Rectangle aCheckRect(rDirtyRect);
Size a1PixSiz(GetPaintWindow().GetOutputDevice().PixelToLogic(Size(1, 1)));
- const SdrView& rView = mrPageView.GetView();
aCheckRect.Left() -= a1PixSiz.Width();
aCheckRect.Top() -= a1PixSiz.Height();
@@ -243,22 +242,6 @@ SdrPaintInfoRec* SdrPageWindow::ImpCreateNewPageInfoRec(const Rectangle& rDirtyR
pInfoRec->aDirtyRect = rDirtyRect;
pInfoRec->aCheckRect = aCheckRect;
- if(bPrinter)
- {
- if(rView.IsLineDraftPrn()) nPaintMode |= SDRPAINTMODE_DRAFTLINE;
- if(rView.IsFillDraftPrn()) nPaintMode |= SDRPAINTMODE_DRAFTFILL;
- if(rView.IsTextDraftPrn()) nPaintMode |= SDRPAINTMODE_DRAFTTEXT;
- if(rView.IsGrafDraftPrn()) nPaintMode |= SDRPAINTMODE_DRAFTGRAF;
- }
- else
- {
- if(rView.IsLineDraft()) nPaintMode |= SDRPAINTMODE_DRAFTLINE;
- if(rView.IsFillDraft()) nPaintMode |= SDRPAINTMODE_DRAFTFILL;
- if(rView.IsTextDraft()) nPaintMode |= SDRPAINTMODE_DRAFTTEXT;
- if(rView.IsGrafDraft()) nPaintMode |= SDRPAINTMODE_DRAFTGRAF;
- if(rView.IsHideGrafDraft()) nPaintMode |= SDRPAINTMODE_HIDEDRAFTGRAF;
- }
-
if(pId)
{
pInfoRec->aPaintLayer.ClearAll();