summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx4
-rw-r--r--drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx4
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx b/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx
index 77e53a42cdc1..fdcc7c1cd90b 100644
--- a/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/fillhatchprimitive2d.cxx
@@ -71,7 +71,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Double:
{
@@ -84,7 +84,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Single:
{
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
index 3e81d31dc66f..f27a8cfe4f62 100644
--- a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
@@ -151,7 +151,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Double:
{
@@ -164,7 +164,7 @@ namespace drawinglayer
aHatch.appendTransformations(aMatrices);
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
case attribute::HatchStyle::Single:
{
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index e5b77c1c86d3..c5ae3c970735 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -188,7 +188,7 @@ namespace drawinglayer
{
default:
SAL_WARN("drawinglayer", "Unknown EmphasisMark style " << pTCPP->getTextEmphasisMark() );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case primitive2d::TEXT_FONT_EMPHASIS_MARK_NONE: eFontEmphasisMark = FontEmphasisMark::NONE; break;
case primitive2d::TEXT_FONT_EMPHASIS_MARK_DOT: eFontEmphasisMark = FontEmphasisMark::Dot; break;
case primitive2d::TEXT_FONT_EMPHASIS_MARK_CIRCLE: eFontEmphasisMark = FontEmphasisMark::Circle; break;
@@ -213,7 +213,7 @@ namespace drawinglayer
{
default:
SAL_WARN( "drawinglayer", "Unknown Relief style " << pTCPP->getTextRelief() );
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case primitive2d::TEXT_RELIEF_NONE: eFontRelief = FontRelief::NONE; break;
case primitive2d::TEXT_RELIEF_EMBOSSED: eFontRelief = FontRelief::Embossed; break;
case primitive2d::TEXT_RELIEF_ENGRAVED: eFontRelief = FontRelief::Engraved; break;