editeng/source/outliner/overflowingtxt.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 5e4e1e32407b40d526e54e58c69256a7d740ced2 Author: matteocam <[email protected]> Date: Tue Jun 16 16:39:41 2015 -0400 Fixed GetEndingLines() Change-Id: I41adadae9b5ff4d9f3221b48fd939202ef93f9bb diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx index d5fa910..f591dac 100644 --- a/editeng/source/outliner/overflowingtxt.cxx +++ b/editeng/source/outliner/overflowingtxt.cxx @@ -25,8 +25,9 @@ OUString OverflowingText::GetEndingLines() const { - // Only some lines in the same para overflowing, thus the head gives the ending lines - if (mHeadTxt == "" && mpMidParas == NULL) + // If the only overflowing part is some lines in a paragraph, + // the end of the overflowing text is its head. + if (mTailTxt == "" && mpMidParas == NULL) return mHeadTxt; return mTailTxt; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
