diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-09-30 20:03:26 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-09-30 20:03:26 +0100 |
commit | ff398161eab8735bb036b1e48779ea57798c9cad (patch) | |
tree | 5aa4643574f15e958e3ff54dfb8b03a3a1176872 | |
parent | 7f947e2eec8ee34086924734396e2b0910bb1808 (diff) |
Temp: the DrView scaling will be completely wrong for tiled rendering.
(No idea why yet)
Change-Id: I9fcbd9055d82feb59b1c957234c9d7747f95ced9
-rw-r--r-- | sc/source/ui/view/gridwin3.cxx | 10 |
1 files 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); } |