diff options
-rw-r--r-- | forms/source/component/imgprod.cxx | 14 |
1 files 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) { |