[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - editeng/source

matteocam matteo.campanelli at gmail.com
Mon Jun 1 16:43:47 PDT 2015


 editeng/source/outliner/outliner.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 30371b6f7fd10a0d349e74205e26bdf95daf9b98
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Mon Jun 1 19:43:11 2015 -0400

    Fixed crashes
    
    Change-Id: I1e15664bf26a427b54bcebdbd1ceaee778fb04c6

diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index a6b3a83..d289e78 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -2149,7 +2149,7 @@ OverflowingText *Outliner::GetOverflowingText() const
     sal_uInt32 nHeadPara = pEditEngine->GetOverflowingParaNum();
     sal_uInt32 nParaCount = GetParagraphCount();
     sal_uInt32 nTailPara = nParaCount-1;
-    sal_uInt32 nMidParas = nTailPara-nHeadPara-1;
+    sal_Int32 nMidParas = nTailPara-nHeadPara-1;
 
     // Set the head text
     // XXX: Is there a proper method to join lines in a single string?


More information about the Libreoffice-commits mailing list