summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-17 10:47:29 +0100
committerNoel Power <noel.power@suse.com>2013-05-17 10:47:29 +0100
commit0c5320a63894919bf8dbb424b9ea52836034efde (patch)
tree56aee71b8dea2db9b59598ab5408df1e2a375201
parent737a580a3b96efa2e389d2e72546484af8d4d78f (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 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 );
}
}