diff options
Diffstat (limited to 'sw/source/uibase/app/docstyle.cxx')
-rw-r--r-- | sw/source/uibase/app/docstyle.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index d948c5d29906..b1795c156462 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -578,7 +578,10 @@ void SwDocStyleSheet::SetHidden( bool bValue ) bChg = true; } } - default:; + break; + + default: + break; } if( bChg ) @@ -625,7 +628,9 @@ bool SwDocStyleSheet::IsHidden( ) const SwNumRule* pRule = rDoc.FindNumRulePtr( aName ); bRet = pRule && pRule->IsHidden( ); } - default:; + break; + default: + break; } return bRet; @@ -717,6 +722,7 @@ bool SwDocStyleSheet::HasParentSupport() const case SfxStyleFamily::Char : case SfxStyleFamily::Para : case SfxStyleFamily::Frame: bRet = true; + break; default:; //prevent warning } return bRet; @@ -730,6 +736,7 @@ bool SwDocStyleSheet::HasClearParentSupport() const case SfxStyleFamily::Para : case SfxStyleFamily::Char : case SfxStyleFamily::Frame: bRet = true; + break; default:; //prevent warning } return bRet; |