summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-03 11:13:17 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-03 11:13:17 +0000
commitc503b5600f4d5c23521d386da1c61039676a44fb (patch)
tree7005826f87bab09c93c2d90af78a06ac614e99ee /ucb
parentdf04e1dcc13256f250c2e87a8cb06a4365c5fea9 (diff)
INTEGRATION: CWS neonupdate (1.17.54); FILE MERGED
2007/06/22 12:29:22 kso 1.17.54.2: RESYNC: (1.17-1.18); FILE MERGED 2007/06/21 15:15:26 kso 1.17.54.1: #i77023# - Removed support for neon < 0.26.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/NeonPropFindRequest.cxx18
1 files changed, 4 insertions, 14 deletions
diff --git a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
index 4bf3b0cee981..985273fc720b 100644
--- a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
+++ b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: NeonPropFindRequest.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: kz $ $Date: 2007-06-19 16:12:48 $
+ * last change: $Author: rt $ $Date: 2007-07-03 12:13:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -176,19 +176,14 @@ extern "C" int NPFR_propfind_iter( void* userdata,
// -------------------------------------------------------------------
extern "C" void NPFR_propfind_results( void* userdata,
-#if NEON_VERSION >= 0260
const ne_uri* href_uri,
-#else
- const char* href,
-#endif
const NeonPropFindResultSet* set )
{
// @@@ href is not the uri! DAVResource ctor wants uri!
-#if NEON_VERSION >= 0260
// href should be free'd? says header ...
char* href = ne_uri_unparse(href_uri);
-#endif
+
DAVResource theResource(
OStringToOUString( href, RTL_TEXTENCODING_UTF8 ) );
@@ -218,19 +213,14 @@ extern "C" int NPFR_propnames_iter( void* userdata,
// -------------------------------------------------------------------
extern "C" void NPFR_propnames_results( void* userdata,
-#if NEON_VERSION >= 0260
const ne_uri* href_uri,
-#else
- const char* href,
-#endif
const NeonPropFindResultSet* results )
{
// @@@ href is not the uri! DAVResourceInfo ctor wants uri!
-#if NEON_VERSION >= 0260
// href should be free'd? says header ...
char* href = ne_uri_unparse(href_uri);
-#endif
+
// Create entry for the resource.
DAVResourceInfo theResource(
OStringToOUString( href, RTL_TEXTENCODING_UTF8 ) );