[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - editeng/source
matteocam
matteo.campanelli at gmail.com
Wed Jul 1 11:33:25 PDT 2015
editeng/source/outliner/outliner.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f04017fd48443d1fef48822585fb440945854801
Author: matteocam <matteo.campanelli at gmail.com>
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);
More information about the Libreoffice-commits
mailing list