Kaydet (Commit) 685c6dad authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) Michael Stahl

coverity#738776 Uninitialized scalar field

Change-Id: I98770ba5cf3179a743d1f3fe0684f12adc65c29b
Reviewed-on: https://gerrit.libreoffice.org/2322Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 08603e66
......@@ -35,14 +35,15 @@ using namespace sax_fastparser;
using namespace oox::vml;
VMLExport::VMLExport( ::sax_fastparser::FSHelperPtr pSerializer, VMLTextExport* pTextExport )
: EscherEx( EscherExGlobalRef(new EscherExGlobal(0)), 0 ),
m_pSerializer( pSerializer ),
m_pTextExport( pTextExport ),
m_pSdrObject( 0 ),
m_pShapeAttrList( NULL ),
m_nShapeType( ESCHER_ShpInst_Nil ),
m_pShapeStyle( new OStringBuffer( 200 ) ),
m_pShapeTypeWritten( new bool[ ESCHER_ShpInst_COUNT ] )
: EscherEx( EscherExGlobalRef(new EscherExGlobal(0)), 0 )
, m_pSerializer( pSerializer )
, m_pTextExport( pTextExport )
, m_pSdrObject( 0 )
, m_pShapeAttrList( NULL )
, m_nShapeType( ESCHER_ShpInst_Nil )
, m_nShapeFlags(0)
, m_pShapeStyle( new OStringBuffer( 200 ) )
, m_pShapeTypeWritten( new bool[ ESCHER_ShpInst_COUNT ] )
{
mnGroupLevel = 1;
memset( m_pShapeTypeWritten, 0, ESCHER_ShpInst_COUNT * sizeof( bool ) );
......
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