From 89f0655ebadb1aa9be31d854dfe5476e2b16e64c Mon Sep 17 00:00:00 2001 From: Marcel Metz Date: Sun, 15 Jan 2012 11:48:11 +0100 Subject: Replaced diagnore ENSURE_OR_CONTINUE with regular code. --- vcl/source/control/throbber.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'vcl/source') diff --git a/vcl/source/control/throbber.cxx b/vcl/source/control/throbber.cxx index a4fe98f72ac2..6f80a402921d 100644 --- a/vcl/source/control/throbber.cxx +++ b/vcl/source/control/throbber.cxx @@ -190,7 +190,12 @@ void Throbber::initImages() ++check ) { - ENSURE_OR_CONTINUE( !check->empty(), "Throbber::initImages: illegal image!" ); + if ( check->empty() ) + { + SAL_WARN( "vcl.control", "Throbber::initImages: illegal image!" ); + continue; + } + const Size aImageSize = (*check)[0].GetSizePixel(); if ( ( aImageSize.Width() > aWindowSizePixel.Width() ) -- cgit