summaryrefslogtreecommitdiff
path: root/ucb/source/ucp
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav/webdavresponseparser.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 05260df637b3..979fb3819406 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -1920,7 +1920,7 @@ void NeonSession::HandleError( int nError,
default:
// set 400 error, if not one of others
code = SC_BAD_REQUEST;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SC_FORBIDDEN:
case SC_NOT_FOUND:
case SC_METHOD_NOT_ALLOWED:
@@ -1948,7 +1948,7 @@ void NeonSession::HandleError( int nError,
// set 500 error, if not one of others
// expand the error code
code = SC_INTERNAL_SERVER_ERROR;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case SC_INTERNAL_SERVER_ERROR:
case SC_NOT_IMPLEMENTED:
throw DAVException( DAVException::DAV_HTTP_ERROR, aText, code );
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 4616957b0725..7a376f48fcfa 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2902,7 +2902,7 @@ void Content::transfer(
task::InteractionClassification_ERROR,
aTargetURI ) ),
Environment );
- SAL_FALLTHROUGH; // Unreachable
+ [[fallthrough]]; // Unreachable
}
case ucb::NameClash::OVERWRITE:
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 72913059c5e3..2e70cef80bc8 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -2724,7 +2724,7 @@ void Content::transfer(
Environment );
// Unreachable
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case ucb::NameClash::OVERWRITE:
break;
diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx
index 3e38ac91561f..b03a392d5cbb 100644
--- a/ucb/source/ucp/webdav/webdavresponseparser.cxx
+++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx
@@ -710,7 +710,7 @@ namespace
maLock.Scope = maLockScope;
maResult_Lock.push_back(maLock);
}
- SAL_FALLTHROUGH; // I hope intentional?
+ [[fallthrough]]; // I hope intentional?
case WebDAVName_propstat:
{
// propstat end, check status