summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/security.cxx2
-rw-r--r--sal/osl/unx/socket.cxx2
-rw-r--r--sal/osl/w32/file_url.cxx4
-rw-r--r--sal/osl/w32/socket.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/unx/security.cxx b/sal/osl/unx/security.cxx
index e545842290dc..16f3b0ee561d 100644
--- a/sal/osl/unx/security.cxx
+++ b/sal/osl/unx/security.cxx
@@ -132,7 +132,7 @@ oslSecurity SAL_CALL osl_getCurrentSecurity()
if (found != nullptr) {
return p;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
default:
deleteSecurityImpl(p);
return nullptr;
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx
index e4a70b5083a1..dd84afc0ccc4 100644
--- a/sal/osl/unx/socket.cxx
+++ b/sal/osl/unx/socket.cxx
@@ -412,7 +412,7 @@ sal_Bool SAL_CALL osl_isEqualSocketAddr (
(pInetAddr1->sin_addr.s_addr == pInetAddr2->sin_addr.s_addr) &&
(pInetAddr1->sin_port == pInetAddr2->sin_port))
return true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default:
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 28955cce4f3a..bf8111d39f42 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -82,7 +82,7 @@ static bool IsValidFilePathComponent(
break;
}
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case 0:
case ' ':
if ( dwFlags & VALIDATEPATH_ALLOW_INVALID_SPACE_AND_PERIOD )
@@ -577,7 +577,7 @@ static void osl_encodeURL_( rtl_uString *strURL, rtl_String **pstrEncodedURL )
pURLDest += 3;
break;
}
- SAL_FALLTHROUGH;
+ [[fallthrough]];
case '!':
case '\'':
case '(':
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx
index f3cf5016a14b..592103e630d6 100644
--- a/sal/osl/w32/socket.cxx
+++ b/sal/osl/w32/socket.cxx
@@ -338,7 +338,7 @@ sal_Bool SAL_CALL osl_isEqualSocketAddr(oslSocketAddr Addr1, oslSocketAddr Addr2
(pInetAddr1->sin_addr.s_addr == pInetAddr2->sin_addr.s_addr) &&
(pInetAddr1->sin_port == pInetAddr2->sin_port))
return true;
- SAL_FALLTHROUGH;
+ [[fallthrough]];
}
default: