diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-11-06 13:53:01 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-11-06 13:53:01 +0000 |
commit | 69d556a0f1de754a5c5ae697b2d90346fa61cd44 (patch) | |
tree | d0d7aa8eb26289fde5f671c0e57d7633b236de5c /sal/osl/w32 | |
parent | 822bea051c97614618ce53750fb788acbf06e00d (diff) |
INTEGRATION: CWS sb63 (1.11.12); FILE MERGED
2006/10/23 12:26:23 sb 1.11.12.1: #i68293# URL schemes have to be treated case insensitive.
Diffstat (limited to 'sal/osl/w32')
-rw-r--r-- | sal/osl/w32/file.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx index 3dd11219f56e..0ca9059eb3ad 100644 --- a/sal/osl/w32/file.cxx +++ b/sal/osl/w32/file.cxx @@ -4,9 +4,9 @@ * * $RCSfile: file.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2006-09-17 08:47:05 $ + * last change: $Author: kz $ $Date: 2006-11-06 14:53:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2127,7 +2127,7 @@ namespace /* private */ OSL_ENSURE_FILE( strUTF8->length == strURL->length || - 0 != rtl_ustr_ascii_shortenedCompare_WithLength( strURL->buffer, strURL->length, "file:\\\\", 7 ) + 0 != rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( strURL->buffer, strURL->length, "file:\\\\", 7 ) ,"osl_getSystemPathFromFileURL: \"%s\" is not encoded !!!", strURL ); bValidEncoded = _osl_decodeURL( strUTF8, &strDecodedURL ); @@ -2149,15 +2149,15 @@ namespace /* private */ /* Must start with "file://" */ - if ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pDecodedURL, nDecodedLen, "file:\\\\", 7 ) ) + if ( 0 == rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( pDecodedURL, nDecodedLen, "file:\\\\", 7 ) ) { sal_uInt32 nSkip; - if ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pDecodedURL, nDecodedLen, "file:\\\\\\", 8 ) ) + if ( 0 == rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( pDecodedURL, nDecodedLen, "file:\\\\\\", 8 ) ) nSkip = 8; else if ( - 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pDecodedURL, nDecodedLen, "file:\\\\localhost\\", 17 ) || - 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pDecodedURL, nDecodedLen, "file:\\\\127.0.0.1\\", 17 ) + 0 == rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( pDecodedURL, nDecodedLen, "file:\\\\localhost\\", 17 ) || + 0 == rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( pDecodedURL, nDecodedLen, "file:\\\\127.0.0.1\\", 17 ) ) nSkip = 17; else |