summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 10:49:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 12:14:21 +0100
commit627b0c682a7d0310daa62b2f47d0d3d8aba3a75e (patch)
treeaf29ad26e5c50df03d83d87533883de145355f68 /forms
parentc48dd161876de095fcede83c87b4596d299150e5 (diff)
coverity#707862 Uninitialized scalar field
Change-Id: I0d94414f4645d3f5da6242bbfefcee449572d2c0
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/imgprod.cxx14
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)
{