From b0ff06a5bc78839f43c73ac529c91a23293e93e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 19 Mar 2014 16:05:03 +0000 Subject: [PATCH] coverity#984088 Uninitialized pointer field Change-Id: I228f7c8f99b0cc3117fbeab78efbeddd74896d54 --- extensions/source/plugin/base/plctrl.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/extensions/source/plugin/base/plctrl.cxx b/extensions/source/plugin/base/plctrl.cxx index 9fe78215d295..fc19c0d20229 100644 --- a/extensions/source/plugin/base/plctrl.cxx +++ b/extensions/source/plugin/base/plctrl.cxx @@ -37,22 +37,20 @@ #include #include - - -PluginControl_Impl::PluginControl_Impl() : - _pMultiplexer( NULL ) +PluginControl_Impl::PluginControl_Impl() + : _pMultiplexer( NULL ) , _nX( 0 ) , _nY( 0 ) , _nWidth( 100 ) , _nHeight( 100 ) , _nFlags( WINDOW_POSSIZE_ALL ) - , _bVisible( sal_False ) - , _bInDesignMode( sal_False ) - , _bEnable( sal_True ) + , _bVisible(false) + , _bInDesignMode(false) + , _bEnable(true) + , _pSysChild(NULL) { } - PluginControl_Impl::~PluginControl_Impl() { }