From: Debian LibreOffice Maintainers Date: Sun, 4 May 2025 05:34:39 +0000 (+0200) Subject: moreIconsDialog-accesses-internet X-Git-Tag: archive/raspbian/4%25.2.3-2+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c9197d52bbcfb520fd6effc3f5d922a51ff56ec;p=libreoffice.git moreIconsDialog-accesses-internet Gbp-Pq: Name moreIconsDialog-accesses-internet.diff --- diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx index a8eabf6d369..676add18204 100644 --- a/cui/source/dialogs/AdditionsDialog.cxx +++ b/cui/source/dialogs/AdditionsDialog.cxx @@ -277,9 +277,13 @@ SearchAndParseThread::SearchAndParseThread(AdditionsDialog* pDialog, const bool , m_bExecute(true) , m_bIsFirstLoading(isFirstLoading) { - // if we are running a UITest, e.g. UITest_sw_options then - // don't attempt to downloading anything - m_bUITest = o3tl::IsRunningUITest(); + if (getenv("AUTOPKGTEST_TMP") != NULL) { + m_bUITest = false; // run always in autopkgtest + } else { + // if we are running a UITest, e.g. UITest_sw_options then + // don't attempt to downloading anything + m_bUITest = o3tl::IsRunningUITest(); + } } SearchAndParseThread::~SearchAndParseThread() {}