summaryrefslogtreecommitdiff
path: root/package/source/xstor/xstorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/xstor/xstorage.cxx')
-rw-r--r--package/source/xstor/xstorage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index ece4cbc9162d..81e159fad77e 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -1845,7 +1845,7 @@ void OStorage::InternalDispose( bool bNotifyImpl )
OSL_ENSURE( !m_pData->m_aOpenSubComponentsVector.size() || m_pData->m_pSubElDispListener.get(),
"If any subelements are open the listener must exist!" );
- if (m_pData->m_pSubElDispListener.get())
+ if (m_pData->m_pSubElDispListener)
{
m_pData->m_pSubElDispListener->OwnerIsDisposed();
@@ -2042,7 +2042,7 @@ void OStorage::MakeLinkToSubComponent_Impl( const uno::Reference< lang::XCompone
if ( !xComponent.is() )
throw uno::RuntimeException( THROW_WHERE );
- if (!m_pData->m_pSubElDispListener.get())
+ if (!m_pData->m_pSubElDispListener)
{
m_pData->m_pSubElDispListener = new OChildDispListener_Impl( *this );
}