summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/metaact.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-17 16:29:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-17 17:19:33 +0100
commitcc43c094f35b1342e7f4f7c44d6b2af49dc16e0f (patch)
treea6f8d4639231bbdad99b0734ec549d9a7970cbbe /vcl/source/gdi/metaact.cxx
parent575181271fbded0c1b2f5a27db6c6ec6cddc7ae5 (diff)
coverity#708610 Uninitialized scalar field
Change-Id: I90a5c9868af3905737ec0c9d34762a295ac90e5e
Diffstat (limited to 'vcl/source/gdi/metaact.cxx')
-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 33ed785a82d6..a94be798d814 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 ),