INTEGRATION: CWS aw046 (1.34.48); FILE MERGED
2007/05/30 18:15:02 aw 1.34.48.5: RESYNC: (1.35-1.36); FILE MERGED 2007/05/30 14:49:38 aw 1.34.48.4: #i75172# code cleanups 2007/04/23 17:38:20 aw 1.34.48.3: RESYNC: (1.34-1.35); FILE MERGED 2007/04/03 11:32:16 aw 1.34.48.2: #i74769# Added support for PaintBuffer 2007/03/06 16:32:21 aw 1.34.48.1: #i74769# in-between progess state
This commit is contained in:
parent
262875165e
commit
f659d53c95
1 changed files with 2 additions and 22 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: viewimp.cxx,v $
|
||||
*
|
||||
* $Revision: 1.36 $
|
||||
* $Revision: 1.37 $
|
||||
*
|
||||
* last change: $Author: rt $ $Date: 2007-04-25 09:11:49 $
|
||||
* last change: $Author: hr $ $Date: 2007-06-26 11:57:56 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -384,26 +384,6 @@ void SwViewImp::MakeDrawView()
|
|||
pDrawView->SetBufferedOverlayAllowed(false);
|
||||
}
|
||||
}
|
||||
|
||||
// #i68597# Init overlay buffer when destination is a window. This is necessary as long
|
||||
// as DrawingLayer is created on demand to start fully buffered overlay correctly.
|
||||
if(pDrawView && pDrawView->IsBufferedOverlayAllowed())
|
||||
{
|
||||
Window* pWindow = GetShell()->GetWin();
|
||||
|
||||
if(pWindow)
|
||||
{
|
||||
// #i72754# use correct region calculation now
|
||||
const Rectangle aRectPixel = Rectangle(Point(), pWindow->GetOutputSizePixel());
|
||||
const Rectangle aRectLogic(pWindow->PixelToLogic(aRectPixel));
|
||||
const Region aRegionLogic(aRectLogic);
|
||||
ViewShell &rSh = *GetShell();
|
||||
|
||||
// simulate repaint of the whole view once initially
|
||||
rSh.DLPrePaint2(aRegionLogic);
|
||||
rSh.DLPostPaint2();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue