From b9f0060b943fa765646ff575ad725c9e7c5a2475 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 20 Apr 2021 12:45:41 +0200 Subject: 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 --- sal/osl/unx/file_url.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sal/osl/unx') 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; -- cgit