summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-17 16:51:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-17 17:19:33 +0100
commit9db1ec2b94ed58d17d87211d05a780393145c244 (patch)
tree9588e5b01cd2c0bc760176a7a44c74dfad71586f /vcl
parentcc43c094f35b1342e7f4f7c44d6b2af49dc16e0f (diff)
coverity#708611 Uninitialized scalar field
Change-Id: I18a0c27257b3419f97b59f14e408036618588516
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/metaact.cxx10
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 ),