diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:41:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 14:03:28 +0000 |
commit | fb4071204205e06b537e968ebd97c37fccd4d1f2 (patch) | |
tree | d812c44054b1396d1f3dd5e5d15be99ccd69b3f1 /lotuswordpro | |
parent | 5621d54fc4d6c77016d235d0c4b792c5dccbd07a (diff) |
coverity#738701 Uninitialized pointer field
Change-Id: Icda26e653e0c42691020453ec58b22f9469cdb2f
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpdrawobj.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpdrawobj.cxx b/lotuswordpro/source/filter/lwpdrawobj.cxx index ee811eff5705..ef26f6d411f3 100644 --- a/lotuswordpro/source/filter/lwpdrawobj.cxx +++ b/lotuswordpro/source/filter/lwpdrawobj.cxx @@ -565,9 +565,12 @@ XFFrame* LwpDrawPolyLine::CreateStandardDrawObj(const OUString& rStyleName) * @param pStream The memory stream which contains the lwp-sdw draw objects */ LwpDrawPolygon::LwpDrawPolygon(SvStream * pStream, DrawingOffsetAndScale* pTransData) -: LwpDrawObj(pStream, pTransData) + : LwpDrawObj(pStream, pTransData) + , m_nNumPoints(NULL) + , m_pVector(NULL) { } + LwpDrawPolygon::~LwpDrawPolygon() { if (m_pVector) |