summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-20 12:45:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-04-20 15:35:31 +0200
commitb9f0060b943fa765646ff575ad725c9e7c5a2475 (patch)
treefc853636636b96e131d44af856f02c06a2d099b4 /sal
parent21584b304b21bfe6b99b6f29018c6b754ea28fc0 (diff)
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@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file_url.cxx2
1 files changed, 0 insertions, 2 deletions
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;