diff options
author | Kayo Hamid <revol.code@yahoo.com> | 2010-11-23 21:12:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-23 21:12:03 +0000 |
commit | 6eb5f64fd829338614d12212ad9c03ec616f3436 (patch) | |
tree | 295570a56ed26cc7ab109b03e10e854276a47fcc /sw/source/filter/ww8/wrtw8num.cxx | |
parent | c107de4372b711ca716f335bc9301243ac86c5c5 (diff) |
remove dead comments
Diffstat (limited to 'sw/source/filter/ww8/wrtw8num.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8num.cxx | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/sw/source/filter/ww8/wrtw8num.cxx b/sw/source/filter/ww8/wrtw8num.cxx index 871bf6941298..e5253a391217 100644 --- a/sw/source/filter/ww8/wrtw8num.cxx +++ b/sw/source/filter/ww8/wrtw8num.cxx @@ -609,10 +609,8 @@ void WW8Export::Out_WwNumLvl( BYTE nWwLevel ) void WW8Export::Out_SwNumLvl( BYTE nSwLevel ) { - // --> OD 2008-04-02 #refactorlists# -// ASSERT(IsNum(nSwLevel), "numbered?"); + ASSERT( nSwLevel < MAXLEVEL, "numbered?"); - // <-- Out_WwNumLvl( nSwLevel + 1 ); } @@ -650,9 +648,7 @@ void WW8Export::BuildAnlvBulletBase(WW8_ANLV& rAnlv, BYTE*& rpCh, if (1 < rCharLen) { - // --> OD 2006-06-27 #b6440955# -// const Font& rFont = rFmt.GetBulletFont() ? *rFmt.GetBulletFont() -// : SwNumRule::GetDefBulletFont(); + // --> #b6440955# const Font& rFont = rFmt.GetBulletFont() ? *rFmt.GetBulletFont() : numfunc::GetDefBulletFont(); @@ -922,11 +918,7 @@ bool WW8Export::Out_SwNum(const SwTxtNode* pNd) aFmt.GetNumberingType() == SVX_NUM_BITMAP ) { - // Aufzaehlung - // --> OD 2008-04-02 #refactorlists# -// Out_WwNumLvl(bNoNum ? 12 : 11); Out_WwNumLvl(11); - // <-- Out_NumRuleAnld(*pRul, aFmt, 11); bRet = false; } @@ -935,21 +927,13 @@ bool WW8Export::Out_SwNum(const SwTxtNode* pNd) (pRul->Get(1).GetIncludeUpperLevels() <= 1) ) { - // Nummerierung - // --> OD 2008-04-02 #refactorlists# -// Out_WwNumLvl(bNoNum ? 12 : 10); Out_WwNumLvl(10); - // <-- Out_NumRuleAnld(*pRul, aFmt, 10); bRet = false; } else { - // Gliederung - // --> OD 2008-04-02 #refactorlists# -// Out_SwNumLvl(bNoNum ? 12 : nSwLevel); Out_SwNumLvl(nSwLevel); - // <-- Out_NumRuleAnld(*pRul, aFmt, nSwLevel); } return bRet; |