diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/file_url.cxx | 3 | ||||
-rw-r--r-- | sal/osl/w32/socket.cxx | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index 248529bef9f4..5009082bc11c 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -84,6 +84,7 @@ static BOOL IsValidFilePathComponent( break; } } + SAL_FALLTHROUGH; case 0: case ' ': if ( dwFlags & VALIDATEPATH_ALLOW_INVALID_SPACE_AND_PERIOD ) @@ -104,6 +105,7 @@ static BOOL IsValidFilePathComponent( case '*': if ( dwFlags & VALIDATEPATH_ALLOW_WILDCARDS ) break; + SAL_FALLTHROUGH; /* The following characters are reserved */ case '<': case '>': @@ -580,6 +582,7 @@ static void _osl_encodeURL( rtl_uString *strURL, rtl_String **pstrEncodedURL ) pURLDest += 3; break; } + SAL_FALLTHROUGH; case '!': case '\'': case '(': diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index a0d1340e0b85..ea6ea0df3bc0 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -559,6 +559,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 sal_True; + SAL_FALLTHROUGH; } default: |