diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 10:20:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 12:40:23 +0000 |
commit | 11a671ac5b176c40a2b5a32d2bb8201e95f4b8bb (patch) | |
tree | c63acbd96d2159ef3ddbb45ad3cc921f23c56871 /sd | |
parent | Resolves: #i124085# improved support for PNG clipboard format on windows (diff) | |
download | core-11a671ac5b176c40a2b5a32d2bb8201e95f4b8bb.tar.gz core-11a671ac5b176c40a2b5a32d2bb8201e95f4b8bb.zip |
coverity#738815 Uninitialized scalar field
Change-Id: I64379b438718ac1043fe7583a9eba966d8d83853
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptbase.cxx | 46 |
1 files changed, 28 insertions, 18 deletions
diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx index e89d00c4317a..4ffe04677735 100644 --- a/sd/source/filter/eppt/pptx-epptbase.cxx +++ b/sd/source/filter/eppt/pptx-epptbase.cxx @@ -129,29 +129,39 @@ static PHLayout pPHLayout[] = { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x12, sal_True, sal_True, sal_False } }; -PPTWriterBase::PPTWriterBase() : - mXModel (0), - mXStatusIndicator (0), - mbStatusIndicator (false), - maFraction (1, 576), - maMapModeSrc (MAP_100TH_MM), - maMapModeDest (MAP_INCH, Point(), maFraction, maFraction), - meLatestPageType (NORMAL), - mpStyleSheet (0) +PPTWriterBase::PPTWriterBase() + : mXModel(0) + , mXStatusIndicator(0) + , mbStatusIndicator(false) + , mbPresObj(false) + , mbEmptyPresObj(false) + , mnAngle(0) + , mnPages(0) + , mnMasterPages(0) + , maFraction(1, 576) + , maMapModeSrc(MAP_100TH_MM) + , maMapModeDest(MAP_INCH, Point(), maFraction, maFraction) + , meLatestPageType(NORMAL) + , mpStyleSheet(0) { DBG(printf ("PPTWriterBase::PPTWriterBase()\n")); } PPTWriterBase::PPTWriterBase( const Reference< XModel > & rXModel, - const Reference< XStatusIndicator > & rXStatInd ) : - mXModel (rXModel), - mXStatusIndicator (rXStatInd), - mbStatusIndicator (false), - maFraction (1, 576), - maMapModeSrc (MAP_100TH_MM), - maMapModeDest (MAP_INCH, Point(), maFraction, maFraction), - meLatestPageType (NORMAL), - mpStyleSheet (0) + const Reference< XStatusIndicator > & rXStatInd ) + : mXModel(rXModel) + , mXStatusIndicator(rXStatInd) + , mbStatusIndicator(false) + , mbPresObj(false) + , mbEmptyPresObj(false) + , mnAngle(0) + , mnPages(0) + , mnMasterPages(0) + , maFraction(1, 576) + , maMapModeSrc(MAP_100TH_MM) + , maMapModeDest(MAP_INCH, Point(), maFraction, maFraction) + , meLatestPageType (NORMAL) + , mpStyleSheet(0) { } |