diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 20:09:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 20:27:58 +0000 |
commit | 4fd7be20ddb10b3fdaf3d483a1ac041ee18d30fe (patch) | |
tree | 74bab7a16ee2f5813f28b59bdbc5854af3b3c508 /framework | |
parent | 06024a58e01a41fe5ce5af38b7714ea6c66a6832 (diff) |
coverity#707887 Uninitialized scalar field
Change-Id: I84c8748b7bcbf7a6aaf7aad34135a9af2428761e
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/uicommanddescription.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index aea23fa302d0..387dec6db1c2 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -618,11 +618,13 @@ UICommandDescription::UICommandDescription( const Reference< XComponentContext > if ( pIter != m_aUICommandsHashMap.end() ) pIter->second = m_xGenericUICommands; } -UICommandDescription::UICommandDescription( const Reference< XComponentContext >& rxContext, bool ) : - UICommandDescription_BASE(*static_cast<osl::Mutex *>(this)), - m_xContext( rxContext ) +UICommandDescription::UICommandDescription(const Reference< XComponentContext >& rxContext, bool) + : UICommandDescription_BASE(*static_cast<osl::Mutex *>(this)) + , m_bConfigRead(false) + , m_xContext(rxContext) { } + UICommandDescription::~UICommandDescription() { osl::MutexGuard g(rBHelper.rMutex); |