diff options
-rw-r--r-- | sw/source/core/doc/fmtcol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx index f0b91d829788..65eb83a7f1fc 100644 --- a/sw/source/core/doc/fmtcol.cxx +++ b/sw/source/core/doc/fmtcol.cxx @@ -54,11 +54,11 @@ namespace TextFormatCollFunc if ( !pTextFormatColl->StayAssignedToListLevelOfOutlineStyle() && pTextFormatColl->IsAssignedToListLevelOfOutlineStyle() ) { - if ( !pNewNumRuleItem ) + if (!pNewNumRuleItem) { - pTextFormatColl->GetItemState( RES_PARATR_NUMRULE, false, reinterpret_cast<const SfxPoolItem**>(&pNewNumRuleItem) ); + (void)pTextFormatColl->GetItemState(RES_PARATR_NUMRULE, false, reinterpret_cast<const SfxPoolItem**>(&pNewNumRuleItem)); } - if ( pNewNumRuleItem ) + if (pNewNumRuleItem) { OUString sNumRuleName = pNewNumRuleItem->GetValue(); if ( sNumRuleName.isEmpty() || |