summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-26 12:28:51 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-26 12:28:51 +0000
commited286af719ad69a2f50120d6b89f1ef4bcd883b0 (patch)
tree63cdb2ebcfac2eb847a7e22dd3d9c3c5b08289fe /sw/source/filter
parentf225a4e50637d228683ba126917d1100e5559e89 (diff)
INTEGRATION: CWS oasisbf2 (1.29.238); FILE MERGED
2004/11/04 15:30:30 dvo 1.29.238.1: #i31024# prevent headings with outline num-rules from being written as lists (plus dependent changes for NO_NUM removal)
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ww8/wrtw8num.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/ww8/wrtw8num.cxx b/sw/source/filter/ww8/wrtw8num.cxx
index 7ebcfd96b727..18feaa28b171 100644
--- a/sw/source/filter/ww8/wrtw8num.cxx
+++ b/sw/source/filter/ww8/wrtw8num.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: wrtw8num.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: obo $ $Date: 2004-04-27 14:11:59 $
+ * last change: $Author: rt $ $Date: 2004-11-26 13:28:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -503,7 +503,7 @@ void SwWW8Writer::Out_WwNumLvl( BYTE nWwLevel )
void SwWW8Writer::Out_SwNumLvl( BYTE nSwLevel )
{
- ASSERT(nSwLevel != NO_NUM, "NO_NUM?");
+ ASSERT(IsNum(nSwLevel), "numbered?");
Out_WwNumLvl( nSwLevel + 1 );
}
@@ -756,8 +756,8 @@ bool SwWW8Writer::Out_SwNum(const SwTxtNode* pNd)
bool bNoNum = false;
- ASSERT(NO_NUM != nSwLevel, "NO_NUM?");
- if( ! IsNum(nSwLevel))
+ ASSERT(IsNum(nSwLevel), "NO_NUM?");
+ if( IsNum(nSwLevel))
{
SetNoNum(&nSwLevel, FALSE); // 0..WW8ListManager::nMaxLevel
bNoNum = true;