summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/chpfld.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-02-23 11:45:30 +0000
committerOliver Specht <os@openoffice.org>2001-02-23 11:45:30 +0000
commit34d554d442fd35baa717ec3b396b94d744a103d5 (patch)
tree1f3b1f06ee54f0b64f7cecad2d9738e34774f3d4 /sw/source/core/fields/chpfld.cxx
parent02255839a51a09caf853c1e6495f01c0e528d4f0 (diff)
Complete use of DefaultNumbering component
Diffstat (limited to 'sw/source/core/fields/chpfld.cxx')
-rw-r--r--sw/source/core/fields/chpfld.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/fields/chpfld.cxx b/sw/source/core/fields/chpfld.cxx
index 6acb68785477..34d3ba068b6b 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.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-19 00:08:19 $
+ * last change: $Author: os $ $Date: 2001-02-23 12:45:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -183,7 +183,7 @@ void SwChapterField::ChangeExpansion( const SwFrm* pFrm,
if( nPrevLvl < nLevel )
nLevel = nPrevLvl;
else if( SVX_NUM_NUMBER_NONE != pDoc->GetOutlineNumRule()
- ->Get( nLevel ).eType )
+ ->Get( nLevel ).GetNumberingType() )
{
pTxtNd = pONd;
break;
@@ -205,7 +205,7 @@ void SwChapterField::ChangeExpansion( const SwFrm* pFrm,
if( NO_NUM > rNum.GetLevel() && !( NO_NUMLEVEL & rNum.GetLevel() ) )
{
const SwNumFmt& rNFmt = pDoc->GetOutlineNumRule()->Get( rNum.GetLevel() );
- sPost = rNFmt.GetPostfix();
+ sPost = rNFmt.GetSuffix();
sPre = rNFmt.GetPrefix();
}
else