diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 16:23:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 17:19:33 +0100 |
commit | f2ccc04b8e06e90743ea4e8338ef08fcc972a4c7 (patch) | |
tree | 0a4107ea57c5bed6d839d9e86811e96336f8cf85 /vcl | |
parent | 3e9bf96ae902c78424e821e03d683179869f2039 (diff) |
coverity#708608 Uninitialized scalar field
Change-Id: Ifb590c408289bb2c12a88af3f923e4d756711669
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 6c574242c869..00dcd61fcc7b 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, |