coverity#707887 Uninitialized scalar field

Change-Id: I84c8748b7bcbf7a6aaf7aad34135a9af2428761e
This commit is contained in:
Caolán McNamara 2014-03-08 20:09:46 +00:00
parent 06024a58e0
commit 4fd7be20dd

View File

@ -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);