summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-28 09:52:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-28 10:31:05 +0100
commit94fcab784bad15022481d5acf1c8c7803d7c2611 (patch)
treee517309053ca79b03305265f83b6323445e30a05 /vcl/source/gdi/pdfwriter_impl.hxx
parentbedf2d65ca9e77f2072354fe1561a9cd047b0bd1 (diff)
coverity#708630 Uninitialized scalar field
Change-Id: Iaab1985c5db6482578d66abf224248da38db1624
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.hxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 66d510502e5c..4cab95ca298f 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -222,7 +222,12 @@ public:
sal_Int32 m_nObject;
bool m_bTrueColor;
- JPGEmit() : m_pStream( NULL ), m_bTrueColor( false ) {}
+ JPGEmit()
+ : m_pStream(NULL)
+ , m_nObject(0)
+ , m_bTrueColor(false)
+ {
+ }
~JPGEmit() { delete m_pStream; }
};