diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-08-01 09:34:48 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-08-01 09:34:48 +0000 |
commit | 6c4e369340be814263b079211c8aab43e0388f9d (patch) | |
tree | 1a39e66750ac2842d2dca1cbe0bdd8aaf65b01dc /svx/source/outliner/outlvw.cxx | |
parent | a1b7adbc6a55f3be0a72e8a4a43d53008a2027d8 (diff) |
#84013# ImplGetNumBulletItem( nPara ), return default when OutlineView level 0
Diffstat (limited to 'svx/source/outliner/outlvw.cxx')
-rw-r--r-- | svx/source/outliner/outlvw.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/outliner/outlvw.cxx b/svx/source/outliner/outlvw.cxx index 075f0c6121..de2e65d4bd 100644 --- a/svx/source/outliner/outlvw.cxx +++ b/svx/source/outliner/outlvw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outlvw.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: cd $ $Date: 2001-07-30 08:54:59 $ + * last change: $Author: mt $ $Date: 2001-08-01 10:34:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -636,6 +636,7 @@ void OutlinerView::SetAttribs( const SfxItemSet& rAttrs ) SfxItemSet aAttribs = pEditEng->GetParaAttribs( n ); if ( !( rLR == pEditEng->GetParaAttrib( (USHORT)n, EE_PARA_LRSPACE ) ) ) { + // Use Item from Style/ParaAttribs, ImplGetNumBulletItem could return a pool default in OutlineView on Level 0 const SvxNumBulletItem& rNumBullet = (const SvxNumBulletItem&)pEditEng->GetParaAttrib( (USHORT)n, EE_PARA_NUMBULLET ); Paragraph* pPara = pOwner->pParaList->GetParagraph( n ); if ( rNumBullet.GetNumRule()->GetLevelCount() > pPara->GetDepth() ) |