summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-17 17:13:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-17 17:19:35 +0100
commit91821848a3a50229b8b96e91e9eb053a8ebc5d9a (patch)
tree249cc9b5cbcde040913ff95a33404fa38ee1df5e /vcl
parentaf7e9972a1113bf026a5a8cc32a075b5a3a7be09 (diff)
coverity#708613 Uninitialized scalar field
Change-Id: I368396dc257503eac17f3519bfee72ef1366171a
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/metaact.cxx31
1 files changed, 28 insertions, 3 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 3dc1986b0f70..20440f1b79ea 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2404,7 +2404,16 @@ void MetaISectRegionClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
ReadRegion( rIStm, maRegion );
}
-IMPL_META_ACTION( MoveClipRegion, META_MOVECLIPREGION_ACTION )
+MetaMoveClipRegionAction::MetaMoveClipRegionAction() :
+ MetaAction ( META_MOVECLIPREGION_ACTION ),
+ mnHorzMove ( 0 ),
+ mnVertMove ( 0 )
+{
+}
+
+MetaMoveClipRegionAction::~MetaMoveClipRegionAction()
+{
+}
MetaMoveClipRegionAction::MetaMoveClipRegionAction( long nHorzMove, long nVertMove ) :
MetaAction ( META_MOVECLIPREGION_ACTION ),
@@ -2454,7 +2463,15 @@ void MetaMoveClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
mnVertMove = nTmpVM;
}
-IMPL_META_ACTION( LineColor, META_LINECOLOR_ACTION )
+MetaLineColorAction::MetaLineColorAction() :
+ MetaAction ( META_LINECOLOR_ACTION ),
+ mbSet ( false )
+{
+}
+
+MetaLineColorAction::~MetaLineColorAction()
+{
+}
MetaLineColorAction::MetaLineColorAction( const Color& rColor, bool bSet ) :
MetaAction ( META_LINECOLOR_ACTION ),
@@ -2743,7 +2760,15 @@ void MetaOverlineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
rIStm.ReadCharAsBool( mbSet );
}
-IMPL_META_ACTION( TextAlign, META_TEXTALIGN_ACTION )
+MetaTextAlignAction::MetaTextAlignAction() :
+ MetaAction ( META_TEXTALIGN_ACTION ),
+ maAlign ( ALIGN_TOP )
+{
+}
+
+MetaTextAlignAction::~MetaTextAlignAction()
+{
+}
MetaTextAlignAction::MetaTextAlignAction( TextAlign aAlign ) :
MetaAction ( META_TEXTALIGN_ACTION ),