diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 16:51:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 17:19:33 +0100 |
commit | 9db1ec2b94ed58d17d87211d05a780393145c244 (patch) | |
tree | 9588e5b01cd2c0bc760176a7a44c74dfad71586f /vcl | |
parent | cc43c094f35b1342e7f4f7c44d6b2af49dc16e0f (diff) |
coverity#708611 Uninitialized scalar field
Change-Id: I18a0c27257b3419f97b59f14e408036618588516
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index a94be798d814..daf10adef627 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 ), |