diff options
-rw-r--r-- | package/source/xstor/xstorage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index cb1e4f4bafc2..0b1193f45327 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -5990,7 +5990,7 @@ uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openStreamEle // the transacted version of the stream should be opened SotElement_Impl *pElement = OpenStreamElement_Impl( aStreamPath, nOpenMode, false ); - OSL_ENSURE( pElement && pElement->m_pStream, "In case element can not be created an exception must be thrown!" ); + assert(pElement && pElement->m_pStream && "In case element can not be created an exception must be thrown!"); xResult = uno::Reference< embed::XExtendedStorageStream >( pElement->m_pStream->GetStream( nOpenMode, true ), |