diff options
author | Malte Timmermann <mt@openoffice.org> | 2002-08-20 12:01:43 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2002-08-20 12:01:43 +0000 |
commit | 37d5230c5480ea9c435fcdb2c16354bfa90c45bb (patch) | |
tree | 4d7c6bca465e66c4f675eab56b8857d1ffc0f1b5 /svx/source/outliner | |
parent | 2453049916f4af5c6cf224e7ce119a642300b356 (diff) |
#97965# RemoveAttribs, call ImplInitDepth
Diffstat (limited to 'svx/source/outliner')
-rw-r--r-- | svx/source/outliner/outlvw.cxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/svx/source/outliner/outlvw.cxx b/svx/source/outliner/outlvw.cxx index 740b9838a1b3..66fff02ee3aa 100644 --- a/svx/source/outliner/outlvw.cxx +++ b/svx/source/outliner/outlvw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outlvw.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: mt $ $Date: 2002-08-05 11:37:22 $ + * last change: $Author: mt $ $Date: 2002-08-20 13:01:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1250,14 +1250,7 @@ void OutlinerView::RemoveAttribs( BOOL bRemoveParaAttribs, USHORT nWhich ) for ( USHORT nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) { Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); - pPara->Invalidate(); - - SfxItemSet aAttrs( pOwner->pEditEngine->GetParaAttribs( nPara ) ); - aAttrs.Put( SfxUInt16Item( EE_PARA_OUTLLEVEL, pPara->GetDepth() ) ); - pOwner->pEditEngine->SetParaAttribs( nPara, aAttrs ); - - pOwner->ImplCheckNumBulletItem( (USHORT)nPara ); - pOwner->ImplCalcBulletText( (USHORT)nPara, FALSE, FALSE ); + pOwner->ImplInitDepth( nPara, pPara->GetDepth(), FALSE, FALSE ); } } pOwner->UndoActionEnd( OLUNDO_ATTR ); |