summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qunicodetools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qunicodetools.cpp')
-rw-r--r--src/corelib/text/qunicodetools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qunicodetools.cpp b/src/corelib/text/qunicodetools.cpp
index 61976ab9ca..4f5ccb6fcc 100644
--- a/src/corelib/text/qunicodetools.cpp
+++ b/src/corelib/text/qunicodetools.cpp
@@ -1242,11 +1242,11 @@ static int indic_nextSyllableBoundary(QChar::Script script, const ushort *s, int
case StressMark:
if (state == VowelMark)
break;
- // fall through
+ Q_FALLTHROUGH();
case VowelMark:
if (state == Matra || state == LengthMark || state == IndependentVowel)
break;
- // fall through
+ Q_FALLTHROUGH();
case Matra:
if (state == Consonant || state == Nukta)
break;