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>
This commit is contained in:
committed by
Ahmad Harthi
parent
2ba9023a60
commit
12de9b3361
@@ -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++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user