summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-17 17:11:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-17 17:19:35 +0100
commitaf7e9972a1113bf026a5a8cc32a075b5a3a7be09 (patch)
tree4dce6a187ad52c7b30a3ef0981bf58cc10bbfed2 /vcl
parentc162763507d0c112dea70ed4f9f175a1beae9052 (diff)
coverity#708615 Uninitialized scalar field
Change-Id: I93cc49b13b2b13c6ac8d1b7b4bf826c39cdb1759
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 0a8d5f6046a9..3dc1986b0f70 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -3467,7 +3467,15 @@ void MetaCommentAction::Read( SvStream& rIStm, ImplMetaReadData* )
mpData = NULL;
}
-IMPL_META_ACTION( LayoutMode, META_LAYOUTMODE_ACTION )
+MetaLayoutModeAction::MetaLayoutModeAction() :
+ MetaAction ( META_LAYOUTMODE_ACTION ),
+ mnLayoutMode( 0 )
+{
+}
+
+MetaLayoutModeAction::~MetaLayoutModeAction()
+{
+}
MetaLayoutModeAction::MetaLayoutModeAction( sal_uInt32 nLayoutMode ) :
MetaAction ( META_LAYOUTMODE_ACTION ),