editeng/source/outliner/outliner.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f04017fd48443d1fef48822585fb440945854801 Author: matteocam <[email protected]> Date: Wed Jul 1 14:32:11 2015 -0400 Fixed other wrong para index Change-Id: Ia15a01fa61870753339d6edbf75faa31e85bb602 diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 63c40a1..961f1bd 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -2231,7 +2231,7 @@ OverflowingText *Outliner::GetOverflowingText() const sal_uInt32 nOverflowingPara = pEditEngine->GetOverflowingParaNum(); ESelection aOverflowingTextSel; sal_Int32 nLastPara = nParaCount-1; - sal_Int32 nLastParaLen = GetText(GetParagraph(nLastPara-1)).getLength(); + sal_Int32 nLastParaLen = GetText(GetParagraph(nLastPara)).getLength(); aOverflowingTextSel = ESelection(nOverflowingPara, nLen, nLastPara, nLastParaLen); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
