[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 20 13:36:11 UTC 2021
sal/osl/unx/file_url.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit b9f0060b943fa765646ff575ad725c9e7c5a2475
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Apr 20 12:45:41 2021 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Apr 20 15:35:31 2021 +0200
Remove obsolete comment
...which was already obsolete at least back in
84c4489cb7da4a9a600d102267f589b4a0419b4c "#104563#moved parts of file.c into
separate files" (where the hack had already been commented out) and should have
been removed in e7982510d23c4b6047f0b81bfe1c684ecb1fff8a "osl: cleanup
file_url.cxx" (which removed the commented-out code)
Change-Id: I9fed1c594ff5180979bab7f3f8d7808c941a4ea8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114330
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index ba5ccc766e6c..d7fa6b5c3660 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -377,8 +377,6 @@ oslFileError SAL_CALL osl_getFileURLFromSystemPath( rtl_uString *ustrSystemPath,
if( ustrSystemPath->length == 0 )
return osl_File_E_INVAL;
- /* temporary hack: if already file url, return ustrSystemPath */
-
if( rtl_ustr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->length,"file:", 5 ) == 0 )
return osl_File_E_INVAL;
More information about the Libreoffice-commits
mailing list