[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sc/source

Noel Power noel.power at suse.com
Fri May 17 03:26:09 PDT 2013


 sc/source/ui/view/drawview.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 1e489d411a40c6b98966917c3849c8bcc110de34
Author: Noel Power <noel.power at suse.com>
Date:   Fri May 17 11:05:02 2013 +0100

    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 at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

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