Kaydet (Commit) fb407120 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738701 Uninitialized pointer field

Change-Id: Icda26e653e0c42691020453ec58b22f9469cdb2f
üst 5621d54f
...@@ -565,9 +565,12 @@ XFFrame* LwpDrawPolyLine::CreateStandardDrawObj(const OUString& rStyleName) ...@@ -565,9 +565,12 @@ XFFrame* LwpDrawPolyLine::CreateStandardDrawObj(const OUString& rStyleName)
* @param pStream The memory stream which contains the lwp-sdw draw objects * @param pStream The memory stream which contains the lwp-sdw draw objects
*/ */
LwpDrawPolygon::LwpDrawPolygon(SvStream * pStream, DrawingOffsetAndScale* pTransData) LwpDrawPolygon::LwpDrawPolygon(SvStream * pStream, DrawingOffsetAndScale* pTransData)
: LwpDrawObj(pStream, pTransData) : LwpDrawObj(pStream, pTransData)
, m_nNumPoints(NULL)
, m_pVector(NULL)
{ {
} }
LwpDrawPolygon::~LwpDrawPolygon() LwpDrawPolygon::~LwpDrawPolygon()
{ {
if (m_pVector) if (m_pVector)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment