summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin3.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-05-24 14:48:16 +0100
committerNoel Power <noel.power@novell.com>2012-05-25 11:34:05 +0100
commitbc30ba74e880122b257cc6aa2965a79851fa4608 (patch)
treeb143dddebf36f506a89bd0daf1cb37f820d08826 /sc/source/ui/view/gridwin3.cxx
parenta11fa1a4ac7ab27328b5e5376ea7597b1e69ddd1 (diff)
Revert "Fixed #i116848# Shapes are at wrong position"
Diffstat (limited to 'sc/source/ui/view/gridwin3.cxx')
-rw-r--r--sc/source/ui/view/gridwin3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx
index a07156184872..228bdd3c4e3a 100644
--- a/sc/source/ui/view/gridwin3.cxx
+++ b/sc/source/ui/view/gridwin3.cxx
@@ -261,13 +261,13 @@ MapMode ScGridWindow::GetDrawMapMode( bool bForce )
else
{
SCCOL nEndCol = 0;
SCROW nEndRow = 0;
pDoc->GetTableArea( nTab, nEndCol, nEndRow );
if (nEndCol<20) nEndCol = 20;
- if (nEndRow<20) nEndRow = 20;
+ if (nEndRow<20) nEndRow = 1000;
ScDrawUtil::CalcScale( pDoc, nTab, 0,0, nEndCol,nEndRow, this,
pViewData->GetZoomX(),pViewData->GetZoomY(),
pViewData->GetPPTX(),pViewData->GetPPTY(),
aScaleX,aScaleY );
}
aDrawMode.SetScaleX(aScaleX);