[Libreoffice-commits] core.git: sd/source

Faisal M. Al-Otaibi fmalotaibi at kacst.edu.sa
Mon Feb 25 00:05:01 PST 2013


 sd/source/core/sdpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 12de9b3361236e1d6c931409cf0ad0d4f9924008
Author: Faisal M. Al-Otaibi <fmalotaibi at kacst.edu.sa>
Date:   Sun Feb 24 14:26:17 2013 +0300

    Fix fdo#60855 RTL UI: handout show boxes out of page border
    
    Change-Id: Ie0103d7c2911dcf184d39b5c394cffae4dbe122f
    Reviewed-on: https://gerrit.libreoffice.org/2356
    Reviewed-by: Ahmad Harthi <aalharthi at kacst.edu.sa>
    Tested-by: Ahmad Harthi <aalharthi at kacst.edu.sa>

diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index dc99226..399c1fd 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2977,7 +2977,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
 
         const long nOffsetX = (aPartArea.Width() + nGapW) * (bRTL ? -1 : 1);
         const long nOffsetY = aPartArea.Height() + nGapH;
-        const long nStartX = bRTL ? nOffsetX*(1 - nColCnt) - nX : nX;
+        const long nStartX = bRTL ? nOffsetX*(1 - nColCnt) + nX : nX;
 
         for(sal_uInt16 nRow = 0; nRow < nRowCnt; nRow++)
         {


More information about the Libreoffice-commits mailing list