diff options
author | Noel Power <noel.power@suse.com> | 2013-05-17 10:45:14 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-17 10:45:35 +0100 |
commit | fab41537089f63d37bd60082bf8592f7a6dc79b1 (patch) | |
tree | 1482ddab09707b8fd6331bce9a798bbf8009119d /sc | |
parent | 996206f18cc8e93d9497765c899710c1f64636df (diff) |
Revert "fdo#63878 fix the zoom problem when the sheet are RTL"
This reverts commit 9411d4d56374a55777019d58c1e7f45767662707.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 3 |
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 ); } } |