summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/chpfld.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-03-08 11:26:06 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-03-08 11:26:06 +0000
commit660cfa96bd75c150c25c0490b6127254d81b29e8 (patch)
treee64b07e72439d575038e1c1eb6de028e9c86c94a /sw/source/core/fields/chpfld.cxx
parentac7efb7fb951fc0ca9b54f4700232815b0926fb5 (diff)
INTEGRATION: CWS swnum01 (1.6.102); FILE MERGED
2004/01/12 16:11:49 hbrinkm 1.6.102.2: RESYNC: (1.6-1.7); FILE MERGED 2003/08/18 12:21:28 hbrinkm 1.6.102.1: #111856#
Diffstat (limited to 'sw/source/core/fields/chpfld.cxx')
-rw-r--r--sw/source/core/fields/chpfld.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/fields/chpfld.cxx b/sw/source/core/fields/chpfld.cxx
index 1a37c80376cf..4e4c391a7c05 100644
--- a/sw/source/core/fields/chpfld.cxx
+++ b/sw/source/core/fields/chpfld.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: chpfld.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: kz $ $Date: 2003-12-09 11:37:07 $
+ * last change: $Author: hr $ $Date: 2004-03-08 12:26:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -203,7 +203,7 @@ void SwChapterField::ChangeExpansion(const SwTxtNode &rTxtNd, sal_Bool bSrchNum)
// nur die Nummer besorgen, ohne Pre-/Post-fixstrings
sNumber = pDoc->GetOutlineNumRule()->MakeNumString( rNum, sal_False );
- if( NO_NUM > rNum.GetLevel() && !( NO_NUMLEVEL & rNum.GetLevel() ) )
+ if( rNum.IsShowNum() )
{
const SwNumFmt& rNFmt = pDoc->GetOutlineNumRule()->Get( rNum.GetLevel() );
sPost = rNFmt.GetSuffix();