diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-05 23:52:58 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-06 13:11:29 -0500 |
commit | d1af634d18aff741962015dc8118fe10310a9d3c (patch) | |
tree | b94a987ca9e8c29bc3692dd84a335df9aee4502f | |
parent | 5ae49784688ebd3a37f65f1c4314ff152ba92d1a (diff) |
coverity#708318: Unitialized scalar field
Change-Id: I434808d6e6456cb095dab5fbe33ba4df0fd36f34
-rw-r--r-- | vcl/source/filter/wmf/winmtf.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index e7f6b200c55a..02f2f4c032d2 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -260,10 +260,11 @@ WinMtfFontStyle::WinMtfFontStyle( LOGFONTW& rFont ) aFont.SetSize( aFontSize ); }; -WinMtf::WinMtf( WinMtfOutput* pWinMtfOutput, SvStream& rStreamWMF, FilterConfigItem* pConfigItem ) : - pOut ( pWinMtfOutput ), - pWMF ( &rStreamWMF ), - pFilterConfigItem ( pConfigItem ) +WinMtf::WinMtf( WinMtfOutput* pWinMtfOutput, SvStream& rStreamWMF, FilterConfigItem* pConfigItem ) + : pOut( pWinMtfOutput ) + , pWMF( &rStreamWMF ) + , nEndPos( 0 ) + , pFilterConfigItem( pConfigItem ) { SvLockBytes *pLB = pWMF->GetLockBytes(); if ( pLB ) |