From 8f9193d812ede2e681e82756a61bd07a0661ca4b Mon Sep 17 00:00:00 2001 From: "Chr. Rossmanith" Date: Sun, 24 Mar 2013 21:33:24 +0100 Subject: Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxx Change-Id: Ibfce9af9bec2e1bac435514ad6d3d27eac5f1a17 Reviewed-on: https://gerrit.libreoffice.org/2975 Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- ucb/source/ucp/webdav-neon/NeonUri.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ucb') 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; -- cgit