[Libreoffice-commits] core.git: i18npool/source sc/source

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 30 16:23:46 UTC 2020


 i18npool/source/search/textsearch.cxx |    2 +-
 sc/source/core/tool/interpr1.cxx      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f4f30276eab58e13f99d9a6446032e389caf8ae2
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Thu Jan 30 17:15:01 2020 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Thu Jan 30 17:22:51 2020 +0100

    Update ICU RegexMatcher::setTimeLimit() documentation link to new location
    
    Stumbled upon in a side step of grepping for icu4c.
    
    Change-Id: I3f9cda5239e265258c7dc7a6a0689b3bc5f052ac

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());


More information about the Libreoffice-commits mailing list