diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 21:09:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 21:11:51 +0100 |
commit | b26aaf5f64853ad2085a73bf762826dbc2a40f94 (patch) | |
tree | 1f96c7d422ae4d0ddfefe32e8de70e8ada436f45 /ucb | |
parent | 880762357ea158d4875047abff5f14e0b224a30c (diff) |
coverity#708562 Uninitialized scalar field
Change-Id: I93a760e0f3b8a1669f7ce9995808b7cff52fa1fa
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/prov.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 80721533257f..0a1ebf14cf00 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -84,26 +84,20 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpfile_component_getFactory( /* */ /* */ /****************************************************************************/ - - - FileProvider::FileProvider( const Reference< XComponentContext >& rxContext ) - : m_xContext( rxContext ), - m_pMyShell( 0 ) + : m_xContext(rxContext) + , m_FileSystemNotation(FileSystemNotation::UNKNOWN_NOTATION) + , m_pMyShell(NULL) { } - FileProvider::~FileProvider() { if( m_pMyShell ) delete m_pMyShell; } - - // XInitialization - void SAL_CALL FileProvider::init() { if( ! m_pMyShell ) |