diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/download.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index 4df311a8b686..4111d1d1a319 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -152,9 +152,9 @@ progress_callback( void *clientp, double dltotal, double dlnow, double ultotal, OutData *out = reinterpret_cast < OutData * > (clientp); - OSL_ASSERT( out ); + assert(out); - if( ! out->StopCondition.check() ) + if (out && !out->StopCondition.check()) { double fPercent = 0; if ( dltotal + out->Offset ) |