From ff398161eab8735bb036b1e48779ea57798c9cad Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Tue, 30 Sep 2014 20:03:26 +0100 Subject: Temp: the DrView scaling will be completely wrong for tiled rendering. (No idea why yet) Change-Id: I9fcbd9055d82feb59b1c957234c9d7747f95ced9 --- sc/source/ui/view/gridwin3.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx index e9ac6ca2054a..d9343d1be96e 100644 --- a/sc/source/ui/view/gridwin3.cxx +++ b/sc/source/ui/view/gridwin3.cxx @@ -249,10 +249,10 @@ MapMode ScGridWindow::GetDrawMapMode( bool bForce ) { Fraction aScaleX; Fraction aScaleY; - if (pDrView) - pDrView->GetScale( aScaleX, aScaleY ); - else - { + // if (pDrView) + // pDrView->GetScale( aScaleX, aScaleY ); + // else + // { SCCOL nEndCol = 0; SCROW nEndRow = 0; pDoc->GetTableArea( nTab, nEndCol, nEndRow ); @@ -262,7 +262,7 @@ MapMode ScGridWindow::GetDrawMapMode( bool bForce ) pViewData->GetZoomX(),pViewData->GetZoomY(), pViewData->GetPPTX(),pViewData->GetPPTY(), aScaleX,aScaleY ); - } + // } aDrawMode.SetScaleX(aScaleX); aDrawMode.SetScaleY(aScaleY); } -- cgit v1.2.3