editeng/source/outliner/outliner.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7aae39ef5679db0299c34095781187546cbedff2 Author: matteocam <[email protected]> Date: Mon Jul 13 15:12:48 2015 -0400 Fix wrong definition of bLastParaIsInterrupted Change-Id: Ib0b65afa6c44e9b6b83c2acef5044d8cd3182a00 diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index a8e5be0..148efa7 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -2161,9 +2161,9 @@ NonOverflowingText *Outliner::GetNonOverflowingText() const } EditTextObject *pTObj = pEditEngine->CreateTextObject(aNonOverflowingTextSelection); - sal_Int32 nLastLine = GetLineCount(nOverflowingPara)-1; + //sal_Int32 nLastLine = GetLineCount(nOverflowingPara)-1; bool bLastParaInterrupted = - pEditEngine->GetOverflowingLineNum() < nLastLine; + pEditEngine->GetOverflowingLineNum() > 0; return new NonOverflowingText(pTObj, bLastParaInterrupted); } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
