summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-24 21:33:24 +0100
committerEike Rathke <erack@redhat.com>2013-03-25 23:08:18 +0000
commit8f9193d812ede2e681e82756a61bd07a0661ca4b (patch)
tree590481a0f03cf6ef9c174ba0698d7d09f8ba8fec /ucb/source
parent254eb9593c9bc4e94f96602e3972d18d6965732b (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/source')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonUri.cxx6
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;