diff options
-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( |