coverity#707862 Uninitialized scalar field

Change-Id: I0d94414f4645d3f5da6242bbfefcee449572d2c0
This commit is contained in:
Caolán McNamara 2014-04-04 10:49:10 +01:00
parent c48dd16187
commit 627b0c682a

View File

@ -170,19 +170,15 @@ ErrCode ImgProdLockBytes::Stat( SvLockBytesStat* pStat, SvLockBytesStatFlag eFla
}
}
// - ImageProducer -
ImageProducer::ImageProducer() :
mpStm ( NULL ),
mbConsInit ( sal_False )
ImageProducer::ImageProducer()
: mpStm(NULL)
, mnTransIndex(0)
, mbConsInit(sal_False)
{
mpGraphic = new Graphic;
}
ImageProducer::~ImageProducer()
{
delete mpGraphic;
@ -192,8 +188,6 @@ ImageProducer::~ImageProducer()
mpStm = NULL;
}
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any ImageProducer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{