summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-10 13:04:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-10 21:12:55 +0100
commit061ef06e04d530504d906c1b4b622d2a72f6cd53 (patch)
tree41fccdd2c0e0bbb5cef4b0044088adbab402c12a /vcl
parent989791341686cd143545aa3f1610920145049f10 (diff)
coverity#708670 Uninitialized scalar field
Change-Id: I9d864ba345a2ce04bc70715ec548307335cd2f18
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/print/common_gfx.cxx31
1 files changed, 19 insertions, 12 deletions
diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx
index 1463492d8ac8..7ff3a11a4d38 100644
--- a/vcl/generic/print/common_gfx.cxx
+++ b/vcl/generic/print/common_gfx.cxx
@@ -93,18 +93,25 @@ PrinterGfx::GetBitCount ()
return mnDepth;
}
-PrinterGfx::PrinterGfx() :
- mpPageHeader (NULL),
- mpPageBody (NULL),
- mnFontID (0),
- mnFallbackID (0),
- mnTextAngle (0),
- mbTextVertical (false),
- mrFontMgr (PrintFontManager::get()),
- mbCompressBmp (true),
- maFillColor (0xff,0,0),
- maTextColor (0,0,0),
- maLineColor (0, 0xff, 0)
+PrinterGfx::PrinterGfx()
+ : mfScaleX(0.0)
+ , mfScaleY(0.0)
+ , mnDpi(0)
+ , mnDepth(0)
+ , mnPSLevel(0)
+ , mbColor(false)
+ , mbUploadPS42Fonts(false)
+ , mpPageHeader(NULL)
+ , mpPageBody(NULL)
+ , mnFontID(0)
+ , mnFallbackID(0)
+ , mnTextAngle(0)
+ , mbTextVertical(false)
+ , mrFontMgr(PrintFontManager::get())
+ , mbCompressBmp(true)
+ , maFillColor(0xff,0,0)
+ , maTextColor(0,0,0)
+ , maLineColor(0, 0xff, 0)
{
maVirtualStatus.mfLineWidth = 1.0;
maVirtualStatus.mnTextHeight = 12;