From: Debian LibreOffice Maintainers Date: Sun, 22 Feb 2026 09:41:41 +0000 (+0100) Subject: moreIconsDialog-accesses-internet X-Git-Tag: archive/raspbian/4%26.2.2.2-3+rpi1^2^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=471f0a0969cc3b8ceb9507e4499c62581802ee4b;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 4f9c9544b4c..7454563373b 100644 --- a/cui/source/dialogs/AdditionsDialog.cxx +++ b/cui/source/dialogs/AdditionsDialog.cxx @@ -275,9 +275,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() {}