summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)