1
0
Fork 0
libreoffice/debian/patches/moreIconsDialog-accesses-internet.diff
Daniel Baumann 2e48723132
Adding debian version 4:25.2.3-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:22:18 +02:00

21 lines
881 B
Diff

diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx
index a8eabf6d369c..676add18204e 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() {}