[Libreoffice-commits] core.git: 19 commits - vcl/source

Caolán McNamara caolanm at redhat.com
Thu Apr 17 09:20:03 PDT 2014


 vcl/source/fontsubset/cff.cxx |   21 +++-
 vcl/source/gdi/metaact.cxx    |  198 +++++++++++++++++++++++++++++++++++++-----
 vcl/source/outdev/font.cxx    |    2 
 3 files changed, 196 insertions(+), 25 deletions(-)

New commits:
commit 91821848a3a50229b8b96e91e9eb053a8ebc5d9a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:13:22 2014 +0100

    coverity#708613 Uninitialized scalar field
    
    Change-Id: I368396dc257503eac17f3519bfee72ef1366171a

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 3dc1986..20440f1 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2404,7 +2404,16 @@ void MetaISectRegionClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
     ReadRegion( rIStm, maRegion );
 }
 
-IMPL_META_ACTION( MoveClipRegion, META_MOVECLIPREGION_ACTION )
+MetaMoveClipRegionAction::MetaMoveClipRegionAction() :
+    MetaAction  ( META_MOVECLIPREGION_ACTION ),
+    mnHorzMove  ( 0 ),
+    mnVertMove  ( 0 )
+{
+}
+
+MetaMoveClipRegionAction::~MetaMoveClipRegionAction()
+{
+}
 
 MetaMoveClipRegionAction::MetaMoveClipRegionAction( long nHorzMove, long nVertMove ) :
     MetaAction  ( META_MOVECLIPREGION_ACTION ),
@@ -2454,7 +2463,15 @@ void MetaMoveClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
     mnVertMove = nTmpVM;
 }
 
-IMPL_META_ACTION( LineColor, META_LINECOLOR_ACTION )
+MetaLineColorAction::MetaLineColorAction() :
+    MetaAction  ( META_LINECOLOR_ACTION ),
+    mbSet       ( false )
+{
+}
+
+MetaLineColorAction::~MetaLineColorAction()
+{
+}
 
 MetaLineColorAction::MetaLineColorAction( const Color& rColor, bool bSet ) :
     MetaAction  ( META_LINECOLOR_ACTION ),
@@ -2743,7 +2760,15 @@ void MetaOverlineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
     rIStm.ReadCharAsBool( mbSet );
 }
 
-IMPL_META_ACTION( TextAlign, META_TEXTALIGN_ACTION )
+MetaTextAlignAction::MetaTextAlignAction() :
+    MetaAction  ( META_TEXTALIGN_ACTION ),
+    maAlign     ( ALIGN_TOP )
+{
+}
+
+MetaTextAlignAction::~MetaTextAlignAction()
+{
+}
 
 MetaTextAlignAction::MetaTextAlignAction( TextAlign aAlign ) :
     MetaAction  ( META_TEXTALIGN_ACTION ),
commit af7e9972a1113bf026a5a8cc32a075b5a3a7be09
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:11:44 2014 +0100

    coverity#708615 Uninitialized scalar field
    
    Change-Id: I93cc49b13b2b13c6ac8d1b7b4bf826c39cdb1759

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 0a8d5f6..3dc1986 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -3467,7 +3467,15 @@ void MetaCommentAction::Read( SvStream& rIStm, ImplMetaReadData* )
         mpData = NULL;
 }
 
-IMPL_META_ACTION( LayoutMode, META_LAYOUTMODE_ACTION )
+MetaLayoutModeAction::MetaLayoutModeAction() :
+    MetaAction  ( META_LAYOUTMODE_ACTION ),
+    mnLayoutMode( 0 )
+{
+}
+
+MetaLayoutModeAction::~MetaLayoutModeAction()
+{
+}
 
 MetaLayoutModeAction::MetaLayoutModeAction( sal_uInt32 nLayoutMode ) :
     MetaAction  ( META_LAYOUTMODE_ACTION ),
commit c162763507d0c112dea70ed4f9f175a1beae9052
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:10:19 2014 +0100

    coverity#708616 Uninitialized scalar field
    
    Change-Id: Ic63f010b0e5d4f0d74c79e16673e3a3fde435e10

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 9f2523b..0a8d5f6 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -1202,7 +1202,17 @@ void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
     }
 }
 
-IMPL_META_ACTION( StretchText, META_STRETCHTEXT_ACTION )
+MetaStretchTextAction::MetaStretchTextAction() :
+    MetaAction  ( META_STRETCHTEXT_ACTION ),
+    mnWidth     ( 0 ),
+    mnIndex     ( 0 ),
+    mnLen       ( 0 )
+{
+}
+
+MetaStretchTextAction::~MetaStretchTextAction()
+{
+}
 
 MetaStretchTextAction::MetaStretchTextAction( const Point& rPt, sal_uInt32 nWidth,
                                               const OUString& rStr,
commit dbe1fd4ce068d982da678f3e7aa95a7f8cf00da6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:09:31 2014 +0100

    coverity#708617 Uninitialized scalar field
    
    Change-Id: If4d6963b4f9ccf8683c95eff2ba1bb0f0d10e282

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 6994a43..9f2523b 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2993,7 +2993,15 @@ void MetaRasterOpAction::Read( SvStream& rIStm, ImplMetaReadData* )
     rIStm.ReadUInt16( nTmp16 ); meRasterOp = (RasterOp) nTmp16;
 }
 
-IMPL_META_ACTION( Transparent, META_TRANSPARENT_ACTION )
+MetaTransparentAction::MetaTransparentAction() :
+    MetaAction      ( META_TRANSPARENT_ACTION ),
+    mnTransPercent  ( 0 )
+{
+}
+
+MetaTransparentAction::~MetaTransparentAction()
+{
+}
 
 MetaTransparentAction::MetaTransparentAction( const PolyPolygon& rPolyPoly, sal_uInt16 nTransPercent ) :
     MetaAction      ( META_TRANSPARENT_ACTION ),
commit 3cb3ca5ca25cf22a12d98e2f379c6f5779e7e574
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:05:28 2014 +0100

    coverity#708618 Uninitialized scalar field
    
    Change-Id: Ie48d5a4628a934036632d780c40e9c93a07ab726

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index da9435d..6994a43 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -3486,7 +3486,15 @@ void MetaLayoutModeAction::Read( SvStream& rIStm, ImplMetaReadData* )
     rIStm.ReadUInt32( mnLayoutMode );
 }
 
-IMPL_META_ACTION( TextLanguage, META_TEXTLANGUAGE_ACTION )
+MetaTextLanguageAction::MetaTextLanguageAction() :
+    MetaAction  ( META_TEXTLANGUAGE_ACTION ),
+    meTextLanguage( LANGUAGE_DONTKNOW )
+{
+}
+
+MetaTextLanguageAction::~MetaTextLanguageAction()
+{
+}
 
 MetaTextLanguageAction::MetaTextLanguageAction( LanguageType eTextLanguage ) :
     MetaAction  ( META_TEXTLANGUAGE_ACTION ),
commit 1b13dd4d4d3d38950e1b22ddcf3758ebe4ddbbdc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:03:53 2014 +0100

    coverity#708619 Uninitialized scalar field
    
    Change-Id: I5cb0259ed12c96ca5f6484999f276fbedcf9dba6

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 1fd76fd..da9435d 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2681,7 +2681,15 @@ void MetaTextLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
     rIStm.ReadCharAsBool( mbSet );
 }
 
-IMPL_META_ACTION( OverlineColor, META_OVERLINECOLOR_ACTION )
+MetaOverlineColorAction::MetaOverlineColorAction() :
+    MetaAction  ( META_OVERLINECOLOR_ACTION ),
+    mbSet       ( false )
+{
+}
+
+MetaOverlineColorAction::~MetaOverlineColorAction()
+{
+}
 
 MetaOverlineColorAction::MetaOverlineColorAction( const Color& rColor, bool bSet ) :
     MetaAction  ( META_OVERLINECOLOR_ACTION ),
commit 0ba34ad6e0ab50cc863d829461ab994d2519d370
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 17:02:01 2014 +0100

    coverity#708621 Uninitialized scalar field
    
    Change-Id: If84c36f3bd285b8615d23271ca7dcc380307e04f

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index db58a55..1fd76fd 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2577,7 +2577,15 @@ void MetaTextColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
     maColor.Read( rIStm, true );
 }
 
-IMPL_META_ACTION( TextFillColor, META_TEXTFILLCOLOR_ACTION )
+MetaTextFillColorAction::MetaTextFillColorAction() :
+    MetaAction  ( META_TEXTFILLCOLOR_ACTION ),
+    mbSet       ( false )
+{
+}
+
+MetaTextFillColorAction::~MetaTextFillColorAction()
+{
+}
 
 MetaTextFillColorAction::MetaTextFillColorAction( const Color& rColor, bool bSet ) :
     MetaAction  ( META_TEXTFILLCOLOR_ACTION ),
commit ddd4b159531e835539e86f76c56d1013de46a2bd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:59:34 2014 +0100

    coverity#708622 Uninitialized scalar field
    
    Change-Id: Id8311854d77f61ea161c6d586847b91971657231

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index c72c36c..db58a55 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2238,7 +2238,15 @@ void MetaWallpaperAction::Read( SvStream& rIStm, ImplMetaReadData* )
     ReadWallpaper( rIStm, maWallpaper );
 }
 
-IMPL_META_ACTION( ClipRegion, META_CLIPREGION_ACTION )
+MetaClipRegionAction::MetaClipRegionAction() :
+    MetaAction  ( META_CLIPREGION_ACTION ),
+    mbClip      ( false )
+{
+}
+
+MetaClipRegionAction::~MetaClipRegionAction()
+{
+}
 
 MetaClipRegionAction::MetaClipRegionAction( const Region& rRegion, bool bClip ) :
     MetaAction  ( META_CLIPREGION_ACTION ),
commit 13222027d16dd75242da0421c292bc3551b3f0ad
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:57:47 2014 +0100

    coverity#738936 Uninitialized scalar field
    
    Change-Id: I9b13adfd30a2cdbebf29508aad296259c692be86

diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index c82badd..7123f35 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1380,6 +1380,8 @@ ImplFontMetricData::ImplFontMetricData( const FontSelectPattern& rFontSelData )
     , mnExtLeading( 0 )
     , mnSlant( 0 )
     , mnMinKashida( 0 )
+    , meFamilyType(FAMILY_DONTKNOW)
+    , mbScalableFont(false)
     , mnUnderlineSize( 0 )
     , mnUnderlineOffset( 0 )
     , mnBUnderlineSize( 0 )
commit b5397261700d1641f7a400ecc0b7ef52a901551b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:53:25 2014 +0100

    coverity#708612 Uninitialized scalar field
    
    Change-Id: Iced922ef50ff9296ab6922aac0d7ec2c5f45cb09

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index daf10ad..c72c36c 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -423,7 +423,16 @@ void MetaRectAction::Read( SvStream& rIStm, ImplMetaReadData* )
     ReadRectangle( rIStm, maRect );
 }
 
-IMPL_META_ACTION( RoundRect, META_ROUNDRECT_ACTION )
+MetaRoundRectAction::MetaRoundRectAction() :
+    MetaAction  ( META_ROUNDRECT_ACTION ),
+    mnHorzRound ( 0 ),
+    mnVertRound ( 0 )
+{
+}
+
+MetaRoundRectAction::~MetaRoundRectAction()
+{
+}
 
 MetaRoundRectAction::MetaRoundRectAction( const Rectangle& rRect,
                                           sal_uInt32 nHorzRound, sal_uInt32 nVertRound ) :
commit 9db1ec2b94ed58d17d87211d05a780393145c244
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:51:30 2014 +0100

    coverity#708611 Uninitialized scalar field
    
    Change-Id: I18a0c27257b3419f97b59f14e408036618588516

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index a94be79..daf10ad 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2604,7 +2604,15 @@ void MetaTextFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
     rIStm.ReadCharAsBool( mbSet );
 }
 
-IMPL_META_ACTION( TextLineColor, META_TEXTLINECOLOR_ACTION )
+MetaTextLineColorAction::MetaTextLineColorAction() :
+    MetaAction  ( META_TEXTLINECOLOR_ACTION ),
+    mbSet       ( false )
+{
+}
+
+MetaTextLineColorAction::~MetaTextLineColorAction()
+{
+}
 
 MetaTextLineColorAction::MetaTextLineColorAction( const Color& rColor, bool bSet ) :
     MetaAction  ( META_TEXTLINECOLOR_ACTION ),
commit cc43c094f35b1342e7f4f7c44d6b2af49dc16e0f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:29:30 2014 +0100

    coverity#708610 Uninitialized scalar field
    
    Change-Id: I90a5c9868af3905737ec0c9d34762a295ac90e5e

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 33ed785..a94be79 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2471,7 +2471,15 @@ void MetaLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
     rIStm.ReadCharAsBool( mbSet );
 }
 
-IMPL_META_ACTION( FillColor, META_FILLCOLOR_ACTION )
+MetaFillColorAction::MetaFillColorAction() :
+    MetaAction  ( META_FILLCOLOR_ACTION ),
+    mbSet       ( false )
+{
+}
+
+MetaFillColorAction::~MetaFillColorAction()
+{
+}
 
 MetaFillColorAction::MetaFillColorAction( const Color& rColor, bool bSet ) :
     MetaAction  ( META_FILLCOLOR_ACTION ),
commit 575181271fbded0c1b2f5a27db6c6ec6cddc7ae5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:27:35 2014 +0100

    coverity#708609 Uninitialized scalar field
    
    Change-Id: Ibf2c9f384e76538ecbceac0de22b84e1390ac917

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 00dcd61..33ed785 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -1268,7 +1268,15 @@ void MetaStretchTextAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
         maStr = read_uInt16_lenPrefixed_uInt16s_ToOUString(rIStm);
 }
 
-IMPL_META_ACTION( TextRect, META_TEXTRECT_ACTION )
+MetaTextRectAction::MetaTextRectAction() :
+    MetaAction  ( META_TEXTRECT_ACTION ),
+    mnStyle     ( 0 )
+{
+}
+
+MetaTextRectAction::~MetaTextRectAction()
+{
+}
 
 MetaTextRectAction::MetaTextRectAction( const Rectangle& rRect,
                                         const OUString& rStr, sal_uInt16 nStyle ) :
commit f2ccc04b8e06e90743ea4e8338ef08fcc972a4c7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:23:36 2014 +0100

    coverity#708608 Uninitialized scalar field
    
    Change-Id: Ifb590c408289bb2c12a88af3f923e4d756711669

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 6c57424..00dcd61 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -1329,7 +1329,18 @@ void MetaTextRectAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
         maStr = read_uInt16_lenPrefixed_uInt16s_ToOUString(rIStm);
 }
 
-IMPL_META_ACTION( TextLine, META_TEXTLINE_ACTION )
+MetaTextLineAction::MetaTextLineAction() :
+    MetaAction  ( META_TEXTLINE_ACTION ),
+    mnWidth     ( 0 ),
+    meStrikeout ( STRIKEOUT_NONE ),
+    meUnderline ( UNDERLINE_NONE ),
+    meOverline  ( UNDERLINE_NONE )
+{
+}
+
+MetaTextLineAction::~MetaTextLineAction()
+{
+}
 
 MetaTextLineAction::MetaTextLineAction( const Point& rPos, long nWidth,
                                         FontStrikeout eStrikeout,
commit 3e9bf96ae902c78424e821e03d683179869f2039
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:15:51 2014 +0100

    coverity#708607 Uninitialized scalar field
    
    Change-Id: I8e766cd7e6288985e6fdb12b0a9ff72f5859e5ce

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 26c9eee..6c57424 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -3117,7 +3117,15 @@ void MetaEPSAction::Read( SvStream& rIStm, ImplMetaReadData* )
     ReadGDIMetaFile( rIStm, maSubst );
 }
 
-IMPL_META_ACTION( RefPoint, META_REFPOINT_ACTION )
+MetaRefPointAction::MetaRefPointAction() :
+    MetaAction  ( META_REFPOINT_ACTION ),
+    mbSet       ( false )
+{
+}
+
+MetaRefPointAction::~MetaRefPointAction()
+{
+}
 
 MetaRefPointAction::MetaRefPointAction( const Point& rRefPoint, bool bSet ) :
     MetaAction  ( META_REFPOINT_ACTION ),
commit d9dece90100936b763a2e2da07517635022fbc8e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:12:46 2014 +0100

    coverity#708606 Uninitialized scalar field
    
    Change-Id: I28adcc868faeb51e49132d12b1a930580961c66c

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index cfcda99..26c9eee 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2878,7 +2878,15 @@ void MetaPopAction::Read( SvStream& rIStm, ImplMetaReadData* )
     COMPAT( rIStm );
 }
 
-IMPL_META_ACTION( RasterOp, META_RASTEROP_ACTION )
+MetaRasterOpAction::MetaRasterOpAction() :
+    MetaAction  ( META_RASTEROP_ACTION ),
+    meRasterOp  ( ROP_OVERPAINT )
+{
+}
+
+MetaRasterOpAction::~MetaRasterOpAction()
+{
+}
 
 MetaRasterOpAction::MetaRasterOpAction( RasterOp eRasterOp ) :
     MetaAction  ( META_RASTEROP_ACTION ),
commit 56a00607a4d25cbfd6660136aa08a73f732bc4a0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:08:49 2014 +0100

    coverity#708605 Uninitialized scalar field
    
    Change-Id: Iaa4b0c4a272a899482b079b1f36f6e3e57721360

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index e46c75b..cfcda99 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -944,7 +944,16 @@ void MetaPolyPolygonAction::Read( SvStream& rIStm, ImplMetaReadData* )
     }
 }
 
-IMPL_META_ACTION( Text, META_TEXT_ACTION )
+MetaTextAction::MetaTextAction() :
+    MetaAction  ( META_TEXT_ACTION ),
+    mnIndex     ( 0 ),
+    mnLen       ( 0 )
+{
+}
+
+MetaTextAction::~MetaTextAction()
+{
+}
 
 MetaTextAction::MetaTextAction( const Point& rPt, const OUString& rStr,
                                 sal_Int32 nIndex, sal_Int32 nLen ) :
commit 8f1c556978f30807a4d4034615690005704b27ed
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 16:04:35 2014 +0100

    coverity#708604 Uninitialized scalar field
    
    Change-Id: I6bd79a84284db6d5f7d16bca202e03b2477a482a

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 5f52aad..e46c75b 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2800,7 +2800,15 @@ void MetaFontAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
         pData->meActualCharSet = osl_getThreadTextEncoding();
 }
 
-IMPL_META_ACTION( Push, META_PUSH_ACTION )
+MetaPushAction::MetaPushAction() :
+    MetaAction  ( META_PUSH_ACTION ),
+    mnFlags     ( 0 )
+{
+}
+
+MetaPushAction::~MetaPushAction()
+{
+}
 
 MetaPushAction::MetaPushAction( sal_uInt16 nFlags ) :
     MetaAction  ( META_PUSH_ACTION ),
commit 595db7fad10595a0cb72b3be17b9eeee887e26c0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 17 15:50:53 2014 +0100

    coverity#708590 Uninitialized pointer field
    
    Change-Id: Ibd425a4778e2d9b1feb5f54565d80673f03e8e56

diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index a1d7dbd..a6c9e02 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -412,12 +412,21 @@ private:
 };
 
 CffSubsetterContext::CffSubsetterContext( const U8* pBasePtr, int nBaseLen)
-:   mpBasePtr( pBasePtr)
-,   mpBaseEnd( pBasePtr+nBaseLen)
-,   mnStackIdx(0)
-,   mnHintSize(0)
-,   mnHorzHintSize(0)
-,   maCharWidth(-1)
+    : mpBasePtr( pBasePtr)
+    , mpBaseEnd( pBasePtr+nBaseLen)
+    , mpReadPtr(NULL)
+    , mpReadEnd(NULL)
+    , mpWritePtr(NULL)
+    , mbSawError(false)
+    , mbNeedClose(false)
+    , mbIgnoreHints(false)
+    , mnCntrMask(0)
+    , mpCharStringOps(NULL)
+    , mpCharStringEscs(NULL)
+    , mnStackIdx(0)
+    , mnHintSize(0)
+    , mnHorzHintSize(0)
+    , maCharWidth(-1)
 {
 //  setCharStringType( 1);
     // TODO: new CffLocal[ mnFDAryCount];


More information about the Libreoffice-commits mailing list