From 627b0c682a7d0310daa62b2f47d0d3d8aba3a75e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 4 Apr 2014 10:49:10 +0100 Subject: coverity#707862 Uninitialized scalar field Change-Id: I0d94414f4645d3f5da6242bbfefcee449572d2c0 --- forms/source/component/imgprod.cxx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index 47be5b238287..d624620b151c 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -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) { -- cgit