diff options
-rw-r--r-- | sal/osl/w32/file_url.cxx | 6 | ||||
-rw-r--r-- | sal/osl/w32/file_url.hxx | 1 |
2 files changed, 1 insertions, 6 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 '\"': diff --git a/sal/osl/w32/file_url.hxx b/sal/osl/w32/file_url.hxx index 39bbc99b309c..7a3dc5c074b6 100644 --- a/sal/osl/w32/file_url.hxx +++ b/sal/osl/w32/file_url.hxx @@ -46,7 +46,6 @@ #define PATHTYPE_IS_LONGPATH 0x0400 #define VALIDATEPATH_NORMAL 0x0000 -#define VALIDATEPATH_ALLOW_WILDCARDS 0x0001 #define VALIDATEPATH_ALLOW_ELLIPSE 0x0002 #define VALIDATEPATH_ALLOW_RELATIVE 0x0004 #define VALIDATEPATH_ALLOW_INVALID_SPACE_AND_PERIOD 0x0010 |