coverity#708673 Uninitialized pointer field

Change-Id: I4aa47c46b609236c72e4a3e579876da7330b2024
This commit is contained in:
Caolán McNamara
2014-05-01 11:42:14 +01:00
parent 1b546c0b48
commit 278ae5db85

View File

@@ -178,10 +178,24 @@ PrinterJob::GetCurrentPageBody ()
* public methods of PrinterJob: the actual job / spool handling
*/
PrinterJob::PrinterJob () :
mpJobHeader( NULL ),
mpJobTrailer( NULL ),
m_bQuickJob( false )
PrinterJob::PrinterJob ()
: mnFileMode(0)
, mpJobHeader(NULL)
, mpJobTrailer(NULL)
, mnResolution(96)
, mnWidthPt(0)
, mnHeightPt(0)
, mnMaxWidthPt(0)
, mnMaxHeightPt(0)
, mnLandscapes(0)
, mnPortraits(0)
, mnLMarginPt(0)
, mnRMarginPt(0)
, mnTMarginPt(0)
, mnBMarginPt(0)
, mfXScale(1)
, mfYScale(1)
, m_bQuickJob(false)
{
}