From 4f416613aab7db1cfe0bdf8fb96d10b8a9175a44 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Feb 2011 20:47:22 +0000 Subject: method is empty --- io/source/stm/opipe.cxx | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'io') diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx index b17ce4081e0a..79c3da328eaa 100644 --- a/io/source/stm/opipe.cxx +++ b/io/source/stm/opipe.cxx @@ -120,9 +120,6 @@ public: // XServiceInfo private: - // DEBUG - inline void checkInvariant(); - Reference < XConnectable > m_succ; Reference < XConnectable > m_pred; @@ -160,12 +157,6 @@ OPipeImpl::~OPipeImpl() } -// These invariants must hold when entering a guarded method or leaving a guarded method. -void OPipeImpl::checkInvariant() -{ - -} - sal_Int32 OPipeImpl::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw( NotConnectedException, BufferSizeExceededException,RuntimeException ) { @@ -278,7 +269,6 @@ sal_Int32 OPipeImpl::available(void) OUString( RTL_CONSTASCII_USTRINGPARAM( "Pipe::available NotConnectedException" ) ), *this ); } - checkInvariant(); return m_pFIFO->getSize(); } @@ -307,7 +297,6 @@ void OPipeImpl::writeBytes(const Sequence< sal_Int8 >& aData) RuntimeException) { MutexGuard guard( m_mutexAccess ); - checkInvariant(); if( m_bOutputStreamClosed ) { @@ -362,8 +351,6 @@ void OPipeImpl::writeBytes(const Sequence< sal_Int8 >& aData) // readBytes may check again if enough bytes are available osl_setCondition( m_conditionBytesAvail ); - - checkInvariant(); } -- cgit