diff options
Diffstat (limited to 'sd/source/core')
-rw-r--r-- | sd/source/core/CustomAnimationCloner.cxx | 2 | ||||
-rw-r--r-- | sd/source/core/CustomAnimationEffect.cxx | 4 | ||||
-rw-r--r-- | sd/source/core/drawdoc4.cxx | 2 | ||||
-rw-r--r-- | sd/source/core/sdpage.cxx | 2 | ||||
-rw-r--r-- | sd/source/core/stlsheet.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/core/CustomAnimationCloner.cxx b/sd/source/core/CustomAnimationCloner.cxx index 7a3cd8238421..1393e8497ce5 100644 --- a/sd/source/core/CustomAnimationCloner.cxx +++ b/sd/source/core/CustomAnimationCloner.cxx @@ -143,7 +143,7 @@ namespace sd { Reference< XIterateContainer > xIter( xNode, UNO_QUERY_THROW ); xIter->setTarget( transformValue( xIter->getTarget() ) ); - SAL_FALLTHROUGH; + [[fallthrough]]; } case AnimationNodeType::PAR: case AnimationNodeType::SEQ: diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index 7585480b155c..89c53c25f263 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -1249,7 +1249,7 @@ Any CustomAnimationEffect::getColor( sal_Int32 nIndex ) case AnimationNodeType::ANIMATE: if( !implIsColorAttribute( xAnimate->getAttributeName() ) ) break; - SAL_FALLTHROUGH; + [[fallthrough]]; case AnimationNodeType::ANIMATECOLOR: Sequence<Any> aValues( xAnimate->getValues() ); if( aValues.hasElements() ) @@ -1296,7 +1296,7 @@ void CustomAnimationEffect::setColor( sal_Int32 nIndex, const Any& rColor ) case AnimationNodeType::ANIMATE: if( !implIsColorAttribute( xAnimate->getAttributeName() ) ) break; - SAL_FALLTHROUGH; + [[fallthrough]]; case AnimationNodeType::ANIMATECOLOR: { Sequence<Any> aValues( xAnimate->getValues() ); diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx index 1f4a7d9dfabf..83297fce1310 100644 --- a/sd/source/core/drawdoc4.cxx +++ b/sd/source/core/drawdoc4.cxx @@ -1081,7 +1081,7 @@ OUString SdDrawDocument::CreatePageNumValue(sal_uInt16 nNum) const break; case css::style::NumberingType::ROMAN_UPPER: bUpper = true; - SAL_FALLTHROUGH; + [[fallthrough]]; case css::style::NumberingType::ROMAN_LOWER: aPageNumValue += SvxNumberFormat::CreateRomanString(nNum, bUpper); break; diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index 5fdbd63e8007..f073d5a8bda3 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -2966,7 +2966,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout, break; default: - SAL_FALLTHROUGH; + [[fallthrough]]; case 6: pOffsets = aOffsets[ bLandscape ? 3 : 1 ]; break; diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 3df37e99da6e..aad5dd7e7824 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -666,7 +666,7 @@ OUString SdStyleSheet::GetFamilyString( SfxStyleFamily eFamily ) return OUString( "cell" ); default: OSL_FAIL( "SdStyleSheet::GetFamilyString(), illegal family!" ); - SAL_FALLTHROUGH; + [[fallthrough]]; case SfxStyleFamily::Para: return OUString( "graphics" ); } |