summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-18 20:47:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-18 20:47:22 +0000
commit4f416613aab7db1cfe0bdf8fb96d10b8a9175a44 (patch)
tree18e994a60ed559f016d6b87037144cce03dc1865 /io
parentff6efc0b7c08d7154314ca041ddc334a465abd0e (diff)
method is empty
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/opipe.cxx13
1 files changed, 0 insertions, 13 deletions
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();
}