[Libreoffice-commits] core.git: sc/source
Noel Power
noel.power at suse.com
Fri May 17 02:48:00 PDT 2013
sc/source/ui/view/drawview.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 0c5320a63894919bf8dbb424b9ea52836034efde
Author: Noel Power <noel.power at suse.com>
Date: Fri May 17 10:47:29 2013 +0100
Revert "fdo#63878 fix the zoom problem when the sheet are RTL"
This reverts commit 9411d4d56374a55777019d58c1e7f45767662707.
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 2fe614c..e249e8c 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 );
}
}
More information about the Libreoffice-commits
mailing list