Fix typo
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user