summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-01 11:42:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-01 17:19:51 +0100
commit278ae5db852ba8715d4d1d5a1eaa38bdff5a7ea5 (patch)
treeec467649b942479a029fa80820698dd37dce59d6 /vcl
parent1b546c0b480a3b62479aee3648d0f683be05375a (diff)
coverity#708673 Uninitialized pointer field
Change-Id: I4aa47c46b609236c72e4a3e579876da7330b2024
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/print/printerjob.cxx22
1 files changed, 18 insertions, 4 deletions
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx
index 48d996729e73..dc3b84675665 100644
--- a/vcl/generic/print/printerjob.cxx
+++ b/vcl/generic/print/printerjob.cxx
@@ -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)
{
}