summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-17 17:05:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-17 17:19:35 +0100
commit3cb3ca5ca25cf22a12d98e2f379c6f5779e7e574 (patch)
treecb5c9db5cb8602973e4f532bac33157ab3235c6c /vcl
parent1b13dd4d4d3d38950e1b22ddcf3758ebe4ddbbdc (diff)
coverity#708618 Uninitialized scalar field
Change-Id: Ie48d5a4628a934036632d780c40e9c93a07ab726
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 da9435d91f0d..6994a437b222 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -3486,7 +3486,15 @@ void MetaLayoutModeAction::Read( SvStream& rIStm, ImplMetaReadData* )
rIStm.ReadUInt32( mnLayoutMode );
}
-IMPL_META_ACTION( TextLanguage, META_TEXTLANGUAGE_ACTION )
+MetaTextLanguageAction::MetaTextLanguageAction() :
+ MetaAction ( META_TEXTLANGUAGE_ACTION ),
+ meTextLanguage( LANGUAGE_DONTKNOW )
+{
+}
+
+MetaTextLanguageAction::~MetaTextLanguageAction()
+{
+}
MetaTextLanguageAction::MetaTextLanguageAction( LanguageType eTextLanguage ) :
MetaAction ( META_TEXTLANGUAGE_ACTION ),