summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheck.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 8fe2363ab0e6..86dc5c5d0b27 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -846,6 +846,12 @@ UpdateCheck::download()
State eState = m_eState;
aGuard.clear();
+ if (aInfo.Sources.empty())
+ {
+ SAL_WARN("extension.updatecheck", "download called without source");
+ return;
+ }
+
if( aInfo.Sources[0].IsDirect )
{
// Ignore second click of a double click
esults?h=distro/lhm/libreoffice-6-4%2bbackports&id=7bad1516c5f2a85b5bae3f49261ac2494cbb7162'>loplugin:unusedmethodsNoel Grandin 2019-06-14loplugin:unusedmethodsNoel Grandin 2019-06-12loplugin:unusedmethodsNoel Grandin 2019-05-09loplugin:unusedmethodsNoel Grandin 2019-03-14loplugin:unusedmethodsNoel Grandin 2019-03-09loplugin:unusedmethodsNoel Grandin 2019-02-25loplugin:unusedmethodsNoel Grandin 2019-01-25loplugin:unusedmethodsNoel Grandin 2018-12-21loplugin:unusedmethodsNoel Grandin 2018-12-09loplugin:unusedmethodsNoel Grandin 2018-11-30loplugin:unusedmethodsNoel Grandin 2018-11-28loplugin:unusedmethodsNoel Grandin 2018-11-17loplugin:unusedmethodsNoel Grandin 2018-11-08loplugin:unusedmethodsNoel Grandin