Kaydet (Commit) 6afa5614 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt Kaydeden (comit) Noel Grandin

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/18739Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 921686a8
...@@ -204,15 +204,10 @@ namespace ...@@ -204,15 +204,10 @@ namespace
pColl->SetFormatAttr( aLR ); 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 // All paragraph styles, which are assigned to a level of the
// outline style has to have the outline style set as its list style. // outline style has to have the outline style set as its list style.
{ SwNumRuleItem aItem(pOutlineRule->GetName());
SwNumRuleItem aItem(pOutlineRule->GetName()); pColl->SetFormatAttr(aItem);
pColl->SetFormatAttr(aItem);
}
} }
} }
pColl->SetNextTextFormatColl( *pDoc->getIDocumentStylePoolAccess().GetTextCollFromPool( pColl->SetNextTextFormatColl( *pDoc->getIDocumentStylePoolAccess().GetTextCollFromPool(
......
...@@ -158,7 +158,6 @@ void SwDoc::PropagateOutlineRule() ...@@ -158,7 +158,6 @@ void SwDoc::PropagateOutlineRule()
// Check only the list style, which is set at the paragraph style // Check only the list style, which is set at the paragraph style
const SwNumRuleItem & rCollRuleItem = pColl->GetNumRule( false ); const SwNumRuleItem & rCollRuleItem = pColl->GetNumRule( false );
// Check on document setting OUTLINE_LEVEL_YIELDS_OUTLINE_RULE no longer needed.
if ( rCollRuleItem.GetValue().isEmpty() ) if ( rCollRuleItem.GetValue().isEmpty() )
{ {
SwNumRule * pMyOutlineRule = GetOutlineNumRule(); SwNumRule * pMyOutlineRule = GetOutlineNumRule();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment