lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 25c8ea868869b8e5130572647d6fffff8f24b501 Author: Gökay Şatır <gokaysa...@collabora.com> AuthorDate: Tue Dec 19 16:58:44 2023 +0300 Commit: Gökay ŞATIR <gokaysa...@collabora.com> CommitDate: Tue Dec 19 18:33:59 2023 +0100 Add "::InitCurl_easy(curl.get());" call also into Duden Http request function. Signed-off-by: Gökay Şatır <gokaysa...@collabora.com> Change-Id: I4c5fa2b8ec428ceb882d5b0e7e74b2416217ecf7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160990 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx b/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx index e568aa6ea35a..3626a83d2264 100644 --- a/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx +++ b/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx @@ -437,6 +437,8 @@ std::string LanguageToolGrammarChecker::makeDudenHttpRequest(std::string_view aU if (!curl) return {}; // empty string + ::InitCurl_easy(curl.get()); + std::string sResponseBody; struct curl_slist* pList = nullptr; SvxLanguageToolOptions& rLanguageOpts = SvxLanguageToolOptions::Get();