[Libreoffice-commits] core.git: drawinglayer/source
Stephan Bergmann
sbergman at redhat.com
Wed May 11 09:35:19 UTC 2016
drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit a4f9fce47bffdda69c81ef64805e441610fca5b1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 11 11:33:31 2016 +0200
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
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
index 489680a2..a54c9df 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:
{
More information about the Libreoffice-commits
mailing list