diff options
author | Noel Power <noel.power@suse.com> | 2013-05-17 11:05:02 +0100 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-05-17 10:25:48 +0000 |
commit | 1e489d411a40c6b98966917c3849c8bcc110de34 (patch) | |
tree | fb5e3b9777f6dde8ecd36559739ddb324a2ea1c3 | |
parent | eebd5646baa7075b486563b84a2fad97c829fb2c (diff) |
Revert "fdo#63878 fix the zoom problem when the sheet are RTL"
This reverts commit 9411d4d56374a55777019d58c1e7f45767662707.
Change-Id: I1165ab1a2c0059e40c4963c99cabfcadb7d0bcb4
Reviewed-on: https://gerrit.libreoffice.org/3932
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-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 ); } } |