summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }
};