summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 21:16:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-01 10:38:25 +0100
commit2d737cc401a679f6850679b2c8469ba471d01fb1 (patch)
tree3865da3e5e02141b6ab8ed5a94e06cd6c38533dc /framework
parentcoverity#707881 Uninitialized scalar field (diff)
downloadcore-2d737cc401a679f6850679b2c8469ba471d01fb1.tar.gz
core-2d737cc401a679f6850679b2c8469ba471d01fb1.zip
coverity#707886 Uninitialized scalar field
Change-Id: Iefcdcf992f5e25643030ab94e64bd06f9fe7c7e7
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/uicommanddescription.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index 8d868574e0de..de2db99c284f 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -602,10 +602,11 @@ void SAL_CALL ConfigurationAccess_UICommand::disposing( const EventObject& aEven
}
}
-UICommandDescription::UICommandDescription( const Reference< XComponentContext >& rxContext ) :
- UICommandDescription_BASE(m_aMutex),
- m_aPrivateResourceURL( PRIVATE_RESOURCE_URL ),
- m_xContext( rxContext )
+UICommandDescription::UICommandDescription(const Reference< XComponentContext >& rxContext)
+ : UICommandDescription_BASE(m_aMutex)
+ , m_bConfigRead(false)
+ , m_aPrivateResourceURL(PRIVATE_RESOURCE_URL)
+ , m_xContext(rxContext)
{
Reference< XNameAccess > xEmpty;
OUString aGenericUICommand( "GenericCommands" );
@@ -618,6 +619,7 @@ UICommandDescription::UICommandDescription( const Reference< XComponentContext >
if ( pIter != m_aUICommandsHashMap.end() )
pIter->second = m_xGenericUICommands;
}
+
UICommandDescription::UICommandDescription(const Reference< XComponentContext >& rxContext, bool)
: UICommandDescription_BASE(m_aMutex)
, m_bConfigRead(false)