diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-24 21:33:24 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-25 23:08:18 +0000 |
commit | 8f9193d812ede2e681e82756a61bd07a0661ca4b (patch) | |
tree | 590481a0f03cf6ef9c174ba0698d7d09f8ba8fec /ucb | |
parent | 254eb9593c9bc4e94f96602e3972d18d6965732b (diff) |
Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxx
Change-Id: Ibfce9af9bec2e1bac435514ad6d3d27eac5f1a17
Reviewed-on: https://gerrit.libreoffice.org/2975
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
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; |