sw/source/core/text/frmcrsr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 22a1f51add198f0b6378dd1cea63e586e652a02b Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Mon Sep 21 14:41:18 2020 +0200 Commit: Samuel Mehrbrodt <[email protected]> CommitDate: Mon Sep 21 16:12:53 2020 +0200 Fix typo Change-Id: I2893137c047502a61924136191dee84d65dbfbeb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103104 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <[email protected]> diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx index 50f0034090be..6a823760a189 100644 --- a/sw/source/core/text/frmcrsr.cxx +++ b/sw/source/core/text/frmcrsr.cxx @@ -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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
