[Libreoffice-commits] core.git: ucb/source

Chr. Rossmanith ChrRossmanith at gmx.de
Mon Mar 25 16:08:39 PDT 2013


 ucb/source/ucp/webdav-neon/NeonUri.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 8f9193d812ede2e681e82756a61bd07a0661ca4b
Author: Chr. Rossmanith <ChrRossmanith at gmx.de>
Date:   Sun Mar 24 21:33:24 2013 +0100

    Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxx
    
    Change-Id: Ibfce9af9bec2e1bac435514ad6d3d27eac5f1a17
    Reviewed-on: https://gerrit.libreoffice.org/2975
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx
index e578ccf..5c5996c 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;
 


More information about the Libreoffice-commits mailing list