summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-17 10:45:14 +0100
committerNoel Power <noel.power@suse.com>2013-05-17 10:45:35 +0100
commitfab41537089f63d37bd60082bf8592f7a6dc79b1 (patch)
tree1482ddab09707b8fd6331bce9a798bbf8009119d
parent996206f18cc8e93d9497765c899710c1f64636df (diff)
Revert "fdo#63878 fix the zoom problem when the sheet are RTL"
-rw-r--r--sc/source/ui/view/drawview.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 7e4555dd0ca7..6900932fa56a 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -791,9 +791,6 @@ void ScDrawView::SyncForGrid( SdrObject* pObj )
Point aCurPos = pViewData->GetScrPos( aOldStt.Col(), aOldStt.Row(), eWhich, sal_True );
Point aCurPosHmm = pGridWin->PixelToLogic(aCurPos, aDrawMode );
Point aGridOff = ( aCurPosHmm - aOldPos );
- // fdo#63878 Fix the X position for RTL Sheet
- if( aGridOff.getX() < 0 )
- aGridOff.setX( aCurPosHmm.getX() + aOldPos.getX() );
pObj->SetGridOffset( aGridOff );
}
}