[PATCH] Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxx

Christina Roßmanith (via_Code_Review) gerrit at gerrit.libreoffice.org
Sun Mar 24 13:35:07 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2975

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/75/2975/1

Remove RTL_CONSTASCII_STRINGPARAM in NeonUri.cxx

Change-Id: Ibfce9af9bec2e1bac435514ad6d3d27eac5f1a17
---
M ucb/source/ucp/webdav-neon/NeonUri.cxx
1 file changed, 2 insertions(+), 4 deletions(-)



diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx
index 5886429..463048b 100644
--- a/ucb/source/ucp/webdav-neon/NeonUri.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx
@@ -149,11 +149,9 @@
 {
     // 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;
 

-- 
To view, visit https://gerrit.libreoffice.org/2975
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfce9af9bec2e1bac435514ad6d3d27eac5f1a17
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christina Roßmanith <ChrRossmanith at web.de>



More information about the LibreOffice mailing list