diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 14:59:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-20 09:31:12 +0200 |
commit | 91e7943cac7490c51bbc03eec2f90422f8e1598e (patch) | |
tree | 2c0ddec8b7725ab9539f9d5f382dd66787cbb5fe /sot | |
parent | 78f6d5f0913f0ab16dd3396658b6bb463a9ba857 (diff) |
cid#1078823 Dereference before null check
Change-Id: If1a3f54ee38cd97693cebaea680b46ba846b2e71
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 47158aff3805..f9fd6109d198 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -2715,7 +2715,7 @@ BaseStorageStream* UCBStorage::OpenStream( const OUString& rEleName, StreamMode } } - if ( pElement && !pElement->m_bIsFolder ) + if ( !pElement->m_bIsFolder ) { // check if stream is already created if ( pElement->m_xStream.Is() ) |