diff options
-rw-r--r-- | src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp b/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp index 15af0841..b33936f7 100644 --- a/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp +++ b/src/plugins/hunspell/hunspellinputmethod/hunspellworker.cpp @@ -496,7 +496,7 @@ bool HunspellBuildSuggestionsTask::spellCheck(const QString &word) { if (!hunspell) return false; - if (word.contains(QRegularExpression(QLatin1Literal("[0-9]")))) + if (word.contains(QRegularExpression(QLatin1String("[0-9]")))) return true; return Hunspell_spell(hunspell, textCodec->fromUnicode(word).constData()) != 0; } |