diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 13:35:33 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 13:35:33 +0000 |
commit | 4113e2430e42614e3c0c459f2d2edbbe1278b31f (patch) | |
tree | 880a7f535807e5643718cd4b3da48915790b2e6b /sd/source/ui/func/fuzoom.cxx | |
parent | 1cd68794b6118a2ce9dd61c3eb4c4690407f990e (diff) |
INTEGRATION: CWS aw053 (1.11.164); FILE MERGED
2007/09/14 10:58:23 aw 1.11.164.1: #i80528# Removal of draft paint modes
Diffstat (limited to 'sd/source/ui/func/fuzoom.cxx')
-rw-r--r-- | sd/source/ui/func/fuzoom.cxx | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/sd/source/ui/func/fuzoom.cxx b/sd/source/ui/func/fuzoom.cxx index d3dcc8a284cc..dde9ac4491ee 100644 --- a/sd/source/ui/func/fuzoom.cxx +++ b/sd/source/ui/func/fuzoom.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fuzoom.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: kz $ $Date: 2006-12-12 17:27:11 $ + * last change: $Author: ihi $ $Date: 2007-11-26 14:35:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -91,11 +91,7 @@ FuZoom::FuZoom( SfxRequest& rReq) : FuPoor(pViewSh, pWin, pView, pDoc, rReq), bVisible(FALSE), - bStartDrag(FALSE), - bLineDraft(FALSE), - bFillDraft(FALSE), - bTextDraft(FALSE), - bGrafDraft(FALSE) + bStartDrag(FALSE) { } @@ -140,22 +136,6 @@ BOOL FuZoom::MouseButtonDown(const MouseEvent& rMEvt) aBeginPosPix = rMEvt.GetPosPixel(); aBeginPos = mpWindow->PixelToLogic(aBeginPosPix); - if (nSlotId == SID_ZOOM_PANNING) - { - // Ersatzdarstellung merken - FrameView* pFrameView = mpViewShell->GetFrameView(); - bLineDraft = pFrameView->IsLineDraft(); - bFillDraft = pFrameView->IsFillDraft(); - bTextDraft = pFrameView->IsTextDraft(); - bGrafDraft = pFrameView->IsGrafDraft(); - - // Ersatzdarstellungen einschalten - mpView->SetLineDraft(TRUE); - mpView->SetFillDraft(TRUE); - mpView->SetTextDraft(TRUE); - mpView->SetGrafDraft(TRUE); - } - return TRUE; } @@ -234,16 +214,7 @@ BOOL FuZoom::MouseButtonUp(const MouseEvent& rMEvt) Point aPosPix = rMEvt.GetPosPixel(); - if (nSlotId == SID_ZOOM_PANNING) - { - // Panning - // Ersatzdarstellung restaurieren - mpView->SetLineDraft(bLineDraft); - mpView->SetFillDraft(bFillDraft); - mpView->SetTextDraft(bTextDraft); - mpView->SetGrafDraft(bGrafDraft); - } - else + if(SID_ZOOM_PANNING != nSlotId) { // Zoom Size aZoomSizePixel = mpWindow->LogicToPixel(aZoomRect).GetSize(); |