[Libreoffice-commits] core.git: Branch 'feature/tiledrendering' - sw/source

Jan Holesovsky kendy at collabora.com
Fri Oct 25 11:50:13 PDT 2013


 sw/source/core/view/viewsh.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 4d64b7dff2d8f9cd80139f042e181a33806cbafe
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Oct 25 20:46:59 2013 +0200

    Tiled rendering: This is wrong approach, kill it.
    
    Change-Id: Ie674d19ae95b9e3c58d739d8cde1543124d1bd1b

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 3a978d4..cf313f5 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1757,10 +1757,6 @@ void ViewShell::PaintTile(OutputDevice *pOut, const Rectangle &rRect)
 {
     assert(pOut);
 
-    pOut->SetPixelOffset(Size(rRect.TopLeft().X(), rRect.TopLeft().Y()));
-
-    // TODO make the tileWidth/Height fit the width/height of the pOut device
-
     // now we need to setup the ViewShell's output device
     // TODO clean up ViewShell's approach to output devices
     OutputDevice *pSaveOut = GetOut();


More information about the Libreoffice-commits mailing list