diff options
Diffstat (limited to 'ucb/source/ucp/cmis/std_outputstream.cxx')
-rw-r--r-- | ucb/source/ucp/cmis/std_outputstream.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/cmis/std_outputstream.cxx b/ucb/source/ucp/cmis/std_outputstream.cxx index a2a1eeb3a1f2..ea8c6d12d1ca 100644 --- a/ucb/source/ucp/cmis/std_outputstream.cxx +++ b/ucb/source/ucp/cmis/std_outputstream.cxx @@ -26,7 +26,7 @@ namespace cmis StdOutputStream::~StdOutputStream() { - if ( m_pStream.get( ) ) + if (m_pStream) m_pStream->setstate( ios::eofbit ); } @@ -51,7 +51,7 @@ namespace cmis { osl::MutexGuard aGuard( m_aMutex ); - if ( !m_pStream.get() ) + if (!m_pStream) throw io::IOException( ); try @@ -69,7 +69,7 @@ namespace cmis { osl::MutexGuard aGuard( m_aMutex ); - if ( !m_pStream.get() ) + if (!m_pStream) throw io::IOException( ); try @@ -87,7 +87,7 @@ namespace cmis { osl::MutexGuard aGuard( m_aMutex ); - if ( !m_pStream.get() ) + if (!m_pStream) throw io::IOException( ); m_pStream->setstate( ios_base::eofbit ); |