diff options
-rw-r--r-- | registry/tools/fileurl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/fileurl.cxx b/registry/tools/fileurl.cxx index 46f0ba7b1140..cabfb16e95da 100644 --- a/registry/tools/fileurl.cxx +++ b/registry/tools/fileurl.cxx @@ -52,7 +52,7 @@ OUString convertToFileUrl(char const * filename, sal_Int32 length) OUString uFileUrl; if (length > 0) { - if ((filename[0] == '.') || (filename[0] != SEPARATOR)) + if (filename[0] != SEPARATOR) { // relative path name. OUString uWorkingDir; |