summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorFaisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa>2013-02-24 14:26:17 +0300
committerLior Kaplan <kaplanlior@gmail.com>2013-03-14 15:19:25 +0200
commitcbfcc02027b64f71b2d888e438a2e964d9da0f50 (patch)
treea7d41a07f80d49bc85f1b7880fd0efbdc3e16100 /sd
parentc1ab08f2559d3996ba595cfbdad287e5a7038f81 (diff)
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@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa> (cherry picked from commit 12de9b3361236e1d6c931409cf0ad0d4f9924008) Signed-off-by: Lior Kaplan <kaplanlior@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 7e1bf02ffb08..ecc38f4bbf4e 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2989,7 +2989,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++)
{