summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-09-19 09:32:17 +0000
committerMathias Bauer <mba@openoffice.org>2001-09-19 09:32:17 +0000
commite0f1ae82cf0f72b07a8587d2751c46fd8b0e0d6a (patch)
tree577d4e24ce313c9e9f9acb2b5c0a9311d7b8916d /unotools/source/ucbhelper/ucblockbytes.cxx
parent2ecb64130560b1136e2d9f73d7d164ba97b2aa55 (diff)
#90517#: support for locking errors
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index b52a1d77dc24..c06cbc811963 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucblockbytes.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: mba $ $Date: 2001-09-19 09:31:57 $
+ * last change: $Author: mba $ $Date: 2001-09-19 10:32:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -424,7 +424,7 @@ sal_Bool CommandThread_Impl::DoIt()
catch ( InteractiveIOException& r )
{
bException = true;
- if ( r.Code == IOErrorCode_ACCESS_DENIED )
+ if ( r.Code == IOErrorCode_ACCESS_DENIED || IOErrorCode_LOCKING_VIOLATION )
m_xLockBytes->SetError( ERRCODE_IO_ACCESSDENIED );
else if ( r.Code == IOErrorCode_NOT_EXISTING )
m_xLockBytes->SetError( ERRCODE_IO_NOTEXISTS );