Change-Id: I2893137c047502a61924136191dee84d65dbfbeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103104
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
Samuel Mehrbrodt
2020-09-21 16:12:53 +02:00
parent 94129b3ed8
commit 22a1f51add
+1 -1
View File
@@ -719,7 +719,7 @@ bool SwTextFrame::RightMargin(SwPaM *pPam, bool bAPI) const
aLine.CharCursorToLine(MapModelToViewPos(*pPam->GetPoint()));
nRightMargin = aLine.GetStart() + aLine.GetCurr()->GetLen();
// We skip hard line brakes
// We skip hard line breaks
if( aLine.GetCurr()->GetLen() &&
CH_BREAK == aInf.GetText()[sal_Int32(nRightMargin) - 1])
--nRightMargin;