TRANSFER_ACCESSINGROOT is unused

since
    commit 03b2320067
    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
This commit is contained in:
Noel Grandin 2024-09-30 14:49:59 +02:00
parent 1683847f0f
commit 89aef7ec59
2 changed files with 0 additions and 11 deletions

View file

@ -76,7 +76,6 @@ enum class TaskHandlerErr {
VALIDFILESTATUSWHILE_FOR_REMOVE ,
DIRECTORYEXHAUSTED_FOR_REMOVE ,
TRANSFER_ACCESSINGROOT ,
TRANSFER_INVALIDSCHEME ,
TRANSFER_INVALIDURL ,
TRANSFER_DESTFILETYPE ,

View file

@ -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(