summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dlinegeometry.cxx2
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx16
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' :
{