diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-30 14:49:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-10-01 11:17:28 +0200 |
commit | 89aef7ec59390ff5bbff2c6cc0160948ab5d07bf (patch) | |
tree | 8ad62c026b2ef532dd042907bcdaa0da80ac425b | |
parent | 1683847f0f6e4d964ac529e125e39e6b047fbe17 (diff) |
TRANSFER_ACCESSINGROOT is unused
since
commit 03b2320067ba3d9855e075044e0427bc7f040bc2
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Mon May 10 13:20:50 2004 +0000
INTEGRATION: CWS relocinst (1.30.68); FILE MERGED
Change-Id: I01ad2cc00526cd4308aec9cbddcee3ef97baddd8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174304
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
-rw-r--r-- | ucb/source/ucp/file/filerror.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/file/filglob.cxx | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/ucb/source/ucp/file/filerror.hxx b/ucb/source/ucp/file/filerror.hxx index ed6e34ce86b4..38b32fec1959 100644 --- a/ucb/source/ucp/file/filerror.hxx +++ b/ucb/source/ucp/file/filerror.hxx @@ -76,7 +76,6 @@ enum class TaskHandlerErr { VALIDFILESTATUSWHILE_FOR_REMOVE , DIRECTORYEXHAUSTED_FOR_REMOVE , - TRANSFER_ACCESSINGROOT , TRANSFER_INVALIDSCHEME , TRANSFER_INVALIDURL , TRANSFER_DESTFILETYPE , diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx index 6e42d975646c..c25f21789313 100644 --- a/ucb/source/ucp/file/filglob.cxx +++ b/ucb/source/ucp/file/filglob.cxx @@ -758,16 +758,6 @@ namespace fileaccess { aMsg, xComProc ); } - else if( errorCode == TaskHandlerErr::TRANSFER_ACCESSINGROOT ) - { - ioErrorCode = IOErrorCode_WRITE_PROTECTED; - cancelCommandExecution( - ioErrorCode, - generateErrorArguments(aUncPath), - xEnv, - u"accessing the root during transfer"_ustr, - xComProc ); - } else if( errorCode == TaskHandlerErr::TRANSFER_INVALIDSCHEME ) { aAny <<= InteractiveBadTransferURLException( |