diff options
Diffstat (limited to 'extensions/source/update/check/updatecheck.cxx')
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 6 |
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 |