diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 09:46:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-08 13:28:16 +0100 |
commit | ab9b67bbb001f380b3973941443bfbc59fe7141c (patch) | |
tree | 4737847b2970d2310932f115935a9454aacff6fe /basegfx | |
parent | 3c0cb54b7ca20439e7e5e1e19dc6fcc75709973b (diff) |
Remove obsolete SAL_FALLTHROUGH completely
...after 7ffdd830d5fb52f2ca25aa80277d22ea6d89970b
"HAVE_CPP_ATTRIBUTE_FALLTHROUGH is always true now"
Change-Id: I54e5ff4e036a6bb3e5774d1c0524158aae18e937
Reviewed-on: https://gerrit.libreoffice.org/64800
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dlinegeometry.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx index 78f569970df3..1567d5b34ecb 100644 --- a/basegfx/source/polygon/b2dlinegeometry.cxx +++ b/basegfx/source/polygon/b2dlinegeometry.cxx @@ -812,7 +812,7 @@ namespace basegfx } else { - SAL_FALLTHROUGH; // wanted fall-through to default + [[fallthrough]]; // wanted fall-through to default } } default: // B2DLineJoin::Bevel diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index 7906704e76e3..2936c9f54ac2 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -141,7 +141,7 @@ namespace basegfx o_rPolyPolygon.append(aCurrPoly); aCurrPoly.clear(); } - SAL_FALLTHROUGH; // to add coordinate data as 1st point of new polygon + [[fallthrough]]; // to add coordinate data as 1st point of new polygon } case 'l' : case 'L' : @@ -181,7 +181,7 @@ namespace basegfx case 'h' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'H' : { @@ -211,7 +211,7 @@ namespace basegfx case 'v' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'V' : { @@ -241,7 +241,7 @@ namespace basegfx case 's' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'S' : { @@ -300,7 +300,7 @@ namespace basegfx case 'c' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'C' : { @@ -350,7 +350,7 @@ namespace basegfx case 'q' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'Q' : { @@ -401,7 +401,7 @@ namespace basegfx case 't' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'T' : { @@ -475,7 +475,7 @@ namespace basegfx case 'a' : { bRelative = true; - SAL_FALLTHROUGH; + [[fallthrough]]; } case 'A' : { |