summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-21 08:46:01 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-21 08:19:05 +0000
commit6afa5614463fbc952d5a983c813d587edbc82fac (patch)
tree09825c677f7a04e2472a125394f0fcb414d388b3
parent921686a827e663199c040f376249de727613751f (diff)
Cleanup: Remove superfluous comment
No need to mention that there has been a check for some state sometime. Change-Id: I844478350ae1209ae64766d28d8e254b7a4d9e10 Reviewed-on: https://gerrit.libreoffice.org/18739 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--sw/source/core/doc/DocumentStylePoolManager.cxx9
-rw-r--r--sw/source/core/doc/docnum.cxx1
2 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 3fd845b7009d..3a7567b4dd2d 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -204,15 +204,10 @@ namespace
pColl->SetFormatAttr( aLR );
}
- // #i71764#
- // Check on document setting OUTLINE_LEVEL_YIELDS_OUTLINE_RULE no longer needed.
// All paragraph styles, which are assigned to a level of the
// outline style has to have the outline style set as its list style.
- {
- SwNumRuleItem aItem(pOutlineRule->GetName());
-
- pColl->SetFormatAttr(aItem);
- }
+ SwNumRuleItem aItem(pOutlineRule->GetName());
+ pColl->SetFormatAttr(aItem);
}
}
pColl->SetNextTextFormatColl( *pDoc->getIDocumentStylePoolAccess().GetTextCollFromPool(
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index 787558f70bc3..ea9c695d3644 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -158,7 +158,6 @@ void SwDoc::PropagateOutlineRule()
// Check only the list style, which is set at the paragraph style
const SwNumRuleItem & rCollRuleItem = pColl->GetNumRule( false );
- // Check on document setting OUTLINE_LEVEL_YIELDS_OUTLINE_RULE no longer needed.
if ( rCollRuleItem.GetValue().isEmpty() )
{
SwNumRule * pMyOutlineRule = GetOutlineNumRule();