summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2020-01-30 17:15:01 +0100
committerEike Rathke <erack@redhat.com>2020-01-30 17:22:51 +0100
commitf4f30276eab58e13f99d9a6446032e389caf8ae2 (patch)
tree71ff6c856fb0f90c7fd2016076a10476524d35ed
parent029d1e92945eb6ac8cd31911f35bed92a4201897 (diff)
Update ICU RegexMatcher::setTimeLimit() documentation link to new location
Stumbled upon in a side step of grepping for icu4c. Change-Id: I3f9cda5239e265258c7dc7a6a0689b3bc5f052ac
-rw-r--r--i18npool/source/search/textsearch.cxx2
-rw-r--r--sc/source/core/tool/interpr1.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index de0f74ad2cb9..964dc6c0b256 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -879,7 +879,7 @@ void TextSearch::RESrchPrepare( const css::util::SearchOptions2& rOptions)
// Pathological patterns may result in exponential run time making the
// application appear to be frozen. Limit that. Documentation for this
// call says
- // https://ssl.icu-project.org/apiref/icu4c/classicu_1_1RegexMatcher.html#a6ebcfcab4fe6a38678c0291643a03a00
+ // https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1RegexMatcher.html#a6ebcfcab4fe6a38678c0291643a03a00
// "The units of the limit are steps of the match engine.
// Correspondence with actual processor time will depend on the speed
// of the processor and the details of the specific pattern, but will
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 89e7b39786cf..f52ac8916069 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -9424,7 +9424,7 @@ void ScInterpreter::ScRegex()
return;
}
// Guard against pathological patterns, limit steps of engine, see
- // https://ssl.icu-project.org/apiref/icu4c/classicu_1_1RegexMatcher.html#a6ebcfcab4fe6a38678c0291643a03a00
+ // https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1RegexMatcher.html#a6ebcfcab4fe6a38678c0291643a03a00
aRegexMatcher.setTimeLimit( 23*1000, status);
const icu::UnicodeString aIcuText( reinterpret_cast<const UChar*>(aText.getStr()), aText.getLength());