From 4e00b2a799fccdef586bbdab486e68334068e948 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 19 Jul 2006 08:36:06 +0000 Subject: INTEGRATION: CWS configure18 (1.15.6); FILE MERGED 2006/07/13 15:18:20 rene 1.15.6.1: #i64798# system neon 0.26.x support, by geki --- ucb/source/ucp/webdav/NeonUri.cxx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'ucb/source/ucp/webdav/NeonUri.cxx') diff --git a/ucb/source/ucp/webdav/NeonUri.cxx b/ucb/source/ucp/webdav/NeonUri.cxx index 23a522c20b56..129ff120bc0a 100644 --- a/ucb/source/ucp/webdav/NeonUri.cxx +++ b/ucb/source/ucp/webdav/NeonUri.cxx @@ -4,9 +4,9 @@ * * $RCSfile: NeonUri.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:37:31 $ + * last change: $Author: kz $ $Date: 2006-07-19 09:36:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -59,9 +59,15 @@ using namespace webdav_ucp; // the string fields of ne_uri are char*, not const char* # pragma disable_warn # endif +#if NEON_VERSION >= 0260 +ne_uri NeonUri::sUriDefaultsHTTP = { "http", NULL, NULL, DEFAULT_HTTP_PORT }; +ne_uri NeonUri::sUriDefaultsHTTPS = { "https", NULL, NULL, DEFAULT_HTTPS_PORT }; +ne_uri NeonUri::sUriDefaultsFTP = { "ftp", NULL, NULL, DEFAULT_FTP_PORT }; +#else ne_uri NeonUri::sUriDefaultsHTTP = { "http", NULL, DEFAULT_HTTP_PORT, NULL, NULL }; ne_uri NeonUri::sUriDefaultsHTTPS = { "https", NULL, DEFAULT_HTTPS_PORT, NULL, NULL }; ne_uri NeonUri::sUriDefaultsFTP = { "ftp", NULL, DEFAULT_FTP_PORT, NULL, NULL }; +#endif # if defined __SUNPRO_CC # pragma enable_warn #endif @@ -140,7 +146,11 @@ void NeonUri::init( const rtl::OString & rUri, const ne_uri * pUri ) pUri->scheme ? pUri->scheme : pUriDefs->scheme, RTL_TEXTENCODING_UTF8 ); mUserInfo = rtl::OStringToOUString( +#if NEON_VERSION >= 0260 + pUri->userinfo ? pUri->userinfo : pUriDefs->userinfo, +#else pUri->authinfo ? pUri->authinfo : pUriDefs->authinfo, +#endif RTL_TEXTENCODING_UTF8 ); mHostName = rtl::OStringToOUString( pUri->host ? pUri->host : pUriDefs->host, -- cgit labora/cd-5.3-3.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/unoidl/README
AgeCommit message (Expand)Author