cid#1078823 Dereference before null check

Change-Id: If1a3f54ee38cd97693cebaea680b46ba846b2e71
This commit is contained in:
Noel Grandin 2014-02-19 14:59:14 +02:00
parent 78f6d5f091
commit 91e7943cac

View File

@ -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() )