[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - sc/source
Noel Power
noel.power at suse.com
Fri May 17 02:45:56 PDT 2013
sc/source/ui/view/drawview.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit fab41537089f63d37bd60082bf8592f7a6dc79b1
Author: Noel Power <noel.power at suse.com>
Date: Fri May 17 10:45:14 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 7e4555d..6900932 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 );
}
}
More information about the Libreoffice-commits
mailing list