summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-24 14:23:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-24 15:05:01 +0000
commit12a7203b2cd54d6ec0bb0969322a8dc2c4edccfd (patch)
tree9778e8aa289b4c1c9162316989d4b6d20a08883a /vcl
parent2bcd43bcc2e7dc9ea155271f819d797a23159366 (diff)
coverity#708575 Uninitialized scalar field
Change-Id: I8bf17ed4d0def478168311b82faffc7eed74fea4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/generic/printergfx.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/inc/generic/printergfx.hxx b/vcl/inc/generic/printergfx.hxx
index e56183dc9e20..77ac4676b2fc 100644
--- a/vcl/inc/generic/printergfx.hxx
+++ b/vcl/inc/generic/printergfx.hxx
@@ -53,8 +53,11 @@ private:
public:
- PrinterColor () :
- meColorspace(eInvalid)
+ PrinterColor()
+ : mnRed(0)
+ , mnGreen(0)
+ , mnBlue(0)
+ , meColorspace(eInvalid)
{}
PrinterColor (sal_uInt16 nRed, sal_uInt16 nGreen,
sal_uInt16 nBlue) :