diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 10:12:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 12:12:27 +0000 |
commit | 8f1beb17ea8065897f4c7f219865c99c1ff07a1c (patch) | |
tree | 3d0b6a195601471348f0511a418cea4d43149340 /ucb | |
parent | a848a497e014e4569f58cc77eab2388ab2311bda (diff) |
coverity#705052 help coverity out here
Change-Id: I5f63cd25b539bcb7a424a25bb559d3281473c42f
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index b52d729a234e..130c8bd41450 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -1344,10 +1344,10 @@ BaseContent::cPCL( void ) { osl::MutexGuard aGuard( m_aMutex ); - Sequence< OUString > seqNames; + if (!m_pPropertyListener) + return NULL; - if( m_pPropertyListener ) - seqNames = m_pPropertyListener->getContainedTypes(); + Sequence< OUString > seqNames = m_pPropertyListener->getContainedTypes(); PropertyChangeNotifier* p = 0; |