From 12de9b3361236e1d6c931409cf0ad0d4f9924008 Mon Sep 17 00:00:00 2001 From: "Faisal M. Al-Otaibi" Date: Sun, 24 Feb 2013 14:26:17 +0300 Subject: 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 Tested-by: Ahmad Harthi --- sd/source/core/sdpage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index dc99226d38ba..399c1fd463f8 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++) { -- cgit