summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-01 14:20:11 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-01 14:20:11 +0000
commitec0fc6b052c32167860b6fac5d75961a42aeac43 (patch)
treed5c7845c0ab1c52cb014e3ef91269c78edc5bf25 /unotools
parent7051d871df53bc748963dc880b1f26d1073e55d7 (diff)
INTEGRATION: CWS sw008 (1.41.10.1.6); FILE MERGED
2003/03/05 16:10:33 fs 1.41.10.1.6.1: removed BEFOREWAIT/AFTERWAIT: not necessary anymore, according to MBA, and causing deadlocks during #107854#
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index c31df0407e5e..7c64acdc2024 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucblockbytes.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:39:53 $
+ * last change: $Author: vg $ $Date: 2003-04-01 15:20:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -572,11 +572,7 @@ ErrCode UcbLockBytes::ReadAt ( ULONG nPos, void *pBuffer, ULONG nCount, ULONG *p
if ( IsSynchronMode() )
{
UcbLockBytes* pThis = const_cast < UcbLockBytes* >( this );
- if ( m_xHandler.Is() )
- m_xHandler->Handle( UcbLockBytesHandler::BEFOREWAIT, pThis );
pThis->m_aInitialized.wait();
- if ( m_xHandler.Is() )
- m_xHandler->Handle( UcbLockBytesHandler::AFTERWAIT, pThis );
}
Reference <XInputStream> xStream = getInputStream_Impl();
@@ -722,11 +718,7 @@ ErrCode UcbLockBytes::Stat( SvLockBytesStat *pStat, SvLockBytesStatFlag) const
if ( IsSynchronMode() )
{
UcbLockBytes* pThis = const_cast < UcbLockBytes* >( this );
- if ( m_xHandler.Is() )
- m_xHandler->Handle( UcbLockBytesHandler::BEFOREWAIT, pThis );
pThis->m_aInitialized.wait();
- if ( m_xHandler.Is() )
- m_xHandler->Handle( UcbLockBytesHandler::AFTERWAIT, pThis );
}
if (!pStat)