[Libreoffice-commits] core.git: oox/source

Norbert Thiebaud nthiebaud at gmail.com
Fri Feb 22 09:36:40 PST 2013


 oox/source/export/vmlexport.cxx |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

New commits:
commit 685c6dadaad760169749c62cdefb4b3ae5a8ddf9
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Feb 21 20:50:05 2013 -0600

    coverity#738776 Uninitialized scalar field
    
    Change-Id: I98770ba5cf3179a743d1f3fe0684f12adc65c29b
    Reviewed-on: https://gerrit.libreoffice.org/2322
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index a69b607..d865f91 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -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 ) );


More information about the Libreoffice-commits mailing list