diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-11 11:33:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-11 11:33:31 +0200 |
commit | a4f9fce47bffdda69c81ef64805e441610fca5b1 (patch) | |
tree | c4d65c538e20e81783658d87b2e792f978fc0f13 /drawinglayer | |
parent | 42ea4312c0b81cfcd08e7689278c57411ae3c2ac (diff) |
Use SAL_FALLTHROUGH where intended
As discussed on IRC:
<alg> sberg: intended - double includes the lines from single, aka triple
<alg> sberg: Okay, please add comments there. I was referring to
FillHatchPrimitive2D::create2DDecomposition where the same switch is used
Change-Id: Ie007bdb54a56ead1b9139451d20f2ea6aa7e6f20
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx index 489680a223ac..a54c9dfeb328 100644 --- a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx @@ -150,6 +150,8 @@ namespace drawinglayer fAngle - F_PI4); aHatch.appendTransformations(aMatrices); + + SAL_FALLTHROUGH; } case attribute::HATCHSTYLE_DOUBLE: { @@ -161,6 +163,8 @@ namespace drawinglayer fAngle - F_PI2); aHatch.appendTransformations(aMatrices); + + SAL_FALLTHROUGH; } case attribute::HATCHSTYLE_SINGLE: { |