diff options
Diffstat (limited to 'sal/osl/w32/file_url.cxx')
-rw-r--r-- | sal/osl/w32/file_url.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index 84f8bb612b32..2858a1fd5909 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -99,13 +99,9 @@ static bool IsValidFilePathComponent( break; } break; - /* '?' and '*' are valid wildcards but not valid file name characters */ + /* The following characters are reserved */ case '?': case '*': - if ( dwFlags & VALIDATEPATH_ALLOW_WILDCARDS ) - break; - SAL_FALLTHROUGH; - /* The following characters are reserved */ case '<': case '>': case '\"': |