summaryrefslogtreecommitdiff
path: root/i18npool/source/search/textsearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/search/textsearch.cxx')
-rw-r--r--i18npool/source/search/textsearch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 906dd12c5263..10b58ba3ea6c 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -241,7 +241,7 @@ void TextSearch::setOptions2( const SearchOptions2& rOptions )
default:
SAL_WARN("i18npool","TextSearch::setOptions2 - default what?");
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SearchAlgorithms2::ABSOLUTE:
fnForward = &TextSearch::NSrchFrwrd;
fnBackward = &TextSearch::NSrchBkwrd;
@@ -264,7 +264,7 @@ void TextSearch::setOptions( const SearchOptions& rOptions )
break;
default:
SAL_WARN("i18npool","TextSearch::setOptions - default what?");
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SearchAlgorithms_ABSOLUTE:
nAlgorithmType2 = SearchAlgorithms2::ABSOLUTE;
break;