summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-07 22:52:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-08 09:43:46 +0100
commit5eac2e6bcc11c1a30cb29d2f1e0289e15e8f1d05 (patch)
tree98ca16dc52ac731403a09a4be8afee1703c29cd9 /cppcanvas
parent8a4d80bc001483e14945d87118e53f1518a434e8 (diff)
Remove misguided FALLTHROUGH comments
...between adjacent switch labels without any intervening statements Change-Id: Ieb8a0d9f71ea4382b5f7d005cdf7111d06aeb5d0 Reviewed-on: https://gerrit.libreoffice.org/64789 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx1
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx10
2 files changed, 0 insertions, 11 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 999a96524da2..5c5b43fb3c89 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -1273,7 +1273,6 @@ namespace cppcanvas
break;
case MetaActionType::TEXTLANGUAGE:
- // FALLTHROUGH intended
case MetaActionType::REFPOINT:
// handled via pCurrAct->Execute( &rVDev )
break;
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index 7b051ef2c5d4..882857959b7b 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -416,16 +416,12 @@ namespace cppcanvas
switch( rTextLineInfo.mnOverlineStyle )
{
case LINESTYLE_NONE: // nothing to do
- // FALLTHROUGH intended
case LINESTYLE_DONTKNOW:
break;
case LINESTYLE_DOUBLEWAVE:
- // FALLTHROUGH intended
case LINESTYLE_SMALLWAVE:
- // FALLTHROUGH intended
case LINESTYLE_BOLDWAVE:
- // FALLTHROUGH intended
case LINESTYLE_WAVE:
appendWaveline(
rTextLinesPolyPoly,
@@ -498,16 +494,12 @@ namespace cppcanvas
switch( rTextLineInfo.mnUnderlineStyle )
{
case LINESTYLE_NONE: // nothing to do
- // FALLTHROUGH intended
case LINESTYLE_DONTKNOW:
break;
case LINESTYLE_DOUBLEWAVE:
- // FALLTHROUGH intended
case LINESTYLE_SMALLWAVE:
- // FALLTHROUGH intended
case LINESTYLE_BOLDWAVE:
- // FALLTHROUGH intended
case LINESTYLE_WAVE:
appendWaveline(
rTextLinesPolyPoly,
@@ -579,12 +571,10 @@ namespace cppcanvas
switch( rTextLineInfo.mnStrikeoutStyle )
{
case STRIKEOUT_NONE: // nothing to do
- // FALLTHROUGH intended
case STRIKEOUT_DONTKNOW:
break;
case STRIKEOUT_SLASH: // TODO(Q1): we should handle this in the text layer
- // FALLTHROUGH intended
case STRIKEOUT_X:
break;