From 5c9197d52bbcfb520fd6effc3f5d922a51ff56ec Mon Sep 17 00:00:00 2001 From: Debian LibreOffice Maintainers Date: Sun, 4 May 2025 07:34:39 +0200 Subject: [PATCH] moreIconsDialog-accesses-internet Gbp-Pq: Name moreIconsDialog-accesses-internet.diff --- cui/source/dialogs/AdditionsDialog.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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() {} -- 2.30.2