diff options
Diffstat (limited to 'sw/source/filter/html/htmlnum.cxx')
-rw-r--r-- | sw/source/filter/html/htmlnum.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/filter/html/htmlnum.cxx b/sw/source/filter/html/htmlnum.cxx index 9d5ed50d57e7..345645a240c8 100644 --- a/sw/source/filter/html/htmlnum.cxx +++ b/sw/source/filter/html/htmlnum.cxx @@ -21,14 +21,13 @@ #include <ndtxt.hxx> #include <doc.hxx> -void SwHTMLNumRuleInfo::Set( const SwTextNode& rTextNd ) +void SwHTMLNumRuleInfo::Set(const SwTextNode& rTextNd) { - const SwNumRule* pTextNdNumRule( rTextNd.GetNumRule() ); - if ( pTextNdNumRule && - pTextNdNumRule != rTextNd.GetDoc().GetOutlineNumRule() ) + const SwNumRule* pTextNdNumRule(rTextNd.GetNumRule()); + if (pTextNdNumRule && pTextNdNumRule != rTextNd.GetDoc().GetOutlineNumRule()) { pNumRule = const_cast<SwNumRule*>(pTextNdNumRule); - nDeep = static_cast< sal_uInt16 >(pNumRule ? rTextNd.GetActualListLevel() + 1 : 0); + nDeep = static_cast<sal_uInt16>(pNumRule ? rTextNd.GetActualListLevel() + 1 : 0); bNumbered = rTextNd.IsCountedInList(); // #i57919# - correction of refactoring done by cws swnumtree: // <bRestart> has to be set to <true>, if numbering is restarted at this |