sal/osl/unx/file_url.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit b9f0060b943fa765646ff575ad725c9e7c5a2475
Author: Stephan Bergmann <[email protected]>
AuthorDate: Tue Apr 20 12:45:41 2021 +0200
Commit: Stephan Bergmann <[email protected]>
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 <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits