diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonUri.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx index e578ccfc4691..5c5996c31636 100644 --- a/ucb/source/ucp/webdav-neon/NeonUri.cxx +++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx @@ -144,11 +144,9 @@ void NeonUri::init( const rtl::OString & rUri, const ne_uri * pUri ) { // Complete URI. const ne_uri * pUriDefs - = matchIgnoreAsciiCase( rUri, - RTL_CONSTASCII_STRINGPARAM( "ftp:" ) ) ? + = rUri.matchIgnoreAsciiCase( "ftp:" ) ? &g_sUriDefaultsFTP : - matchIgnoreAsciiCase( rUri, - RTL_CONSTASCII_STRINGPARAM( "https:" ) ) ? + rUri.matchIgnoreAsciiCase( "https:" ) ? &g_sUriDefaultsHTTPS : &g_sUriDefaultsHTTP; |