Kaydet (Commit) 0c5320a6 authored tarafından Noel Power's avatar Noel Power

Revert "fdo#63878 fix the zoom problem when the sheet are RTL"

This reverts commit 9411d4d5.
üst 737a580a
...@@ -782,9 +782,6 @@ void ScDrawView::SyncForGrid( SdrObject* pObj ) ...@@ -782,9 +782,6 @@ void ScDrawView::SyncForGrid( SdrObject* pObj )
Point aCurPos = pViewData->GetScrPos( aOldStt.Col(), aOldStt.Row(), eWhich, sal_True ); Point aCurPos = pViewData->GetScrPos( aOldStt.Col(), aOldStt.Row(), eWhich, sal_True );
Point aCurPosHmm = pGridWin->PixelToLogic(aCurPos, aDrawMode ); Point aCurPosHmm = pGridWin->PixelToLogic(aCurPos, aDrawMode );
Point aGridOff = ( aCurPosHmm - aOldPos ); 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 ); pObj->SetGridOffset( aGridOff );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment