diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 11:12:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 12:14:24 +0100 |
commit | 587668b75fafac50f352a5b4a86580fa1b3578d1 (patch) | |
tree | b7a284360ce87522195d638549fb855c0f2a0570 /sc | |
parent | 54df60d8d8c48a565aaa8c00fd78d826df252844 (diff) |
coverity#708049 Uninitialized scalar field
Change-Id: Ie5260dd4800a7c5d9185ce603c6e9deb658224a3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/inc/scflt.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/filter/inc/scflt.hxx b/sc/source/filter/inc/scflt.hxx index 518bad368128..e6b3e663f4b2 100644 --- a/sc/source/filter/inc/scflt.hxx +++ b/sc/source/filter/inc/scflt.hxx @@ -407,7 +407,11 @@ struct Sc10ColAttr sal_uInt16 Count; Sc10ColData* pData; - Sc10ColAttr() : pData(NULL) {} + Sc10ColAttr() + : Count(0) + , pData(NULL) + { + } ~Sc10ColAttr() { delete [] pData; } }; |