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::ImageProducer()
: mpStm(NULL)
ImageProducer::ImageProducer() : , mnTransIndex(0)
mpStm ( NULL ), , mbConsInit(sal_False)
mbConsInit ( sal_False )
{ {
mpGraphic = new Graphic; mpGraphic = new Graphic;
} }
ImageProducer::~ImageProducer() ImageProducer::~ImageProducer()
{ {
delete mpGraphic; delete mpGraphic;
@@ -192,8 +188,6 @@ ImageProducer::~ImageProducer()
mpStm = NULL; mpStm = NULL;
} }
// ::com::sun::star::uno::XInterface // ::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) ::com::sun::star::uno::Any ImageProducer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{ {