diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 12:43:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 16:39:39 +0200 |
commit | 726328d26cd274ce72f2db2d84e3e915a4d142a2 (patch) | |
tree | aa52403e8388615b9643f9b55e26f19a643a284a /registry | |
parent | 45e208f4621fba7525c3f1e44b6529b70d771ed4 (diff) |
expression is excessive
Change-Id: I9af0de0d0f3aed565ac396b15821812fd9922779
Reviewed-on: https://gerrit.libreoffice.org/61994
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'registry')
-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; |