summaryrefslogtreecommitdiff
path: root/svx/source/outliner
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-01-24 15:50:45 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-01-24 15:50:45 +0000
commitee80e3ea457a8a0e4532cca1688c3dc61aaaaa6e (patch)
treee85f161ace0f307a4edfb9f45d5cfb86c221b5fc /svx/source/outliner
parent1ddede6268fbfa4312b5c26ac48850f9ed6015e9 (diff)
INTEGRATION: CWS editengss01 (1.62.42); FILE MERGED
2006/01/16 14:49:15 mt 1.62.42.2: RESYNC: (1.62-1.63); FILE MERGED 2005/12/07 09:59:29 mt 1.62.42.1: #126385# Just a comment for a bug fix done in m139
Diffstat (limited to 'svx/source/outliner')
-rw-r--r--svx/source/outliner/outliner.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/outliner/outliner.cxx b/svx/source/outliner/outliner.cxx
index f850f83efcf4..4abf7b4e34b9 100644
--- a/svx/source/outliner/outliner.cxx
+++ b/svx/source/outliner/outliner.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: outliner.cxx,v $
*
- * $Revision: 1.63 $
+ * $Revision: 1.64 $
*
- * last change: $Author: rt $ $Date: 2006-01-10 14:48:19 $
+ * last change: $Author: hr $ $Date: 2006-01-24 16:50:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -399,6 +399,8 @@ OutlinerParaObject* Outliner::CreateParaObject( USHORT nStartPara, USHORT nCount
if ( ( nStartPara + nCount ) > pParaList->GetParagraphCount() )
nCount = pParaList->GetParagraphCount() - nStartPara;
+ // When a new OutlinerParaObject is created because a paragraph is just beeing deleted,
+ // it can happen that the ParaList is not updated yet...
if ( ( nStartPara + nCount ) > pEditEngine->GetParagraphCount() )
nCount = pEditEngine->GetParagraphCount() - nStartPara;