summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
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() )