summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-24 12:01:07 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-24 12:26:04 +0300
commit9ba13c4a02555668392166d401d54c4695b10593 (patch)
treec8b2ed66a0de57e570bfa01e36f2a384e42a9b77 /sal/osl
parent4cebcbedfe56a869e54a61f7023275dd6b426ca4 (diff)
Bin "temporary hack" code that has been commented-out since 2002
Change-Id: If228820b35927d24a1ae2e19c184767a447f829b
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/file_url.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index 539732ec5f6c..2adbe60fd055 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -92,16 +92,6 @@ oslFileError SAL_CALL osl_getSystemPathFromFileURL( rtl_uString *ustrFileURL, rt
sal_Unicode encodedSlash[3] = { '%', '2', 'F' };
sal_Unicode protocolDelimiter[3] = { ':', '/', '/' };
- /* temporary hack: if already system path, return ustrFileURL */
- /*
- if( (sal_Unicode) '/' == ustrFileURL->buffer[0] )
- {
- OSL_FAIL( "osl_getSystemPathFromFileURL: input is already system path" );
- rtl_uString_assign( pustrSystemPath, ustrFileURL );
- return osl_File_E_None;
- }
- */
-
/* a valid file url may not start with '/' */
if( ( 0 == ustrFileURL->length ) || ( (sal_Unicode) '/' == ustrFileURL->buffer[0] ) )
{