From 4fd7be20ddb10b3fdaf3d483a1ac041ee18d30fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 8 Mar 2014 20:09:46 +0000 Subject: [PATCH] coverity#707887 Uninitialized scalar field Change-Id: I84c8748b7bcbf7a6aaf7aad34135a9af2428761e --- framework/source/uielement/uicommanddescription.cxx | 8 +++++--- 1 file 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(this)), - m_xContext( rxContext ) +UICommandDescription::UICommandDescription(const Reference< XComponentContext >& rxContext, bool) + : UICommandDescription_BASE(*static_cast(this)) + , m_bConfigRead(false) + , m_xContext(rxContext) { } + UICommandDescription::~UICommandDescription() { osl::MutexGuard g(rBHelper.rMutex);