incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Janík <Pa...@Janik.cz>
Subject WaE: sd/source/ui/slideshow/slideshowimpl.cxx
Date Tue, 25 Sep 2012 17:57:28 GMT
Hi,

this code emits Warning about unused bLoad:

bool bLoad = vcl::ImageRepository::loadBrandingImage(
                  rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "logo" ) ),
                                 aImage );
OSL_ENSURE( bLoad, "Can't load logo image");

Can't we OSL_ENSURE that aImage is initialized properly instead?
-- 
Pavel Janík




Mime
View raw message