diff options
author | Noel Power <noel.power@suse.com> | 2013-05-17 10:47:29 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-17 10:47:29 +0100 |
commit | 0c5320a63894919bf8dbb424b9ea52836034efde (patch) | |
tree | 56aee71b8dea2db9b59598ab5408df1e2a375201 | |
parent | 737a580a3b96efa2e389d2e72546484af8d4d78f (diff) |
Revert "fdo#63878 fix the zoom problem when the sheet are RTL"
This reverts commit 9411d4d56374a55777019d58c1e7f45767662707.
-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 2fe614ce90eb..e249e8c884dc 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -782,9 +782,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 ); } } |