summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorFaisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa>2013-02-24 14:26:17 +0300
committerAhmad Harthi <aalharthi@kacst.edu.sa>2013-02-25 08:04:42 +0000
commit12de9b3361236e1d6c931409cf0ad0d4f9924008 (patch)
tree48d841d053a4fec3e9384f1b1fe79f11f98b026a /sd
parent2ba9023a60f41f5ba414fa0f7682ac8104b3a00b (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>
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 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++)
{