summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-12-12 14:32:46 +0000
committerKurt Zenker <kz@openoffice.org>2007-12-12 14:32:46 +0000
commit3ccc2d7af59943ac11e44ae04f7a0926c36ee9da (patch)
treea8d5760a5e8017fad34af005800b1485daaaf01f /ucb
parent454d0a2f349162190d89f868746a908d0e1b1368 (diff)
INTEGRATION: CWS pmladek08 (1.13.34); FILE MERGED
2007/12/10 14:15:41 pmladek 1.13.34.1: #i82569# add back support for build with neon-0.24.X
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/LinkSequence.cxx8
-rw-r--r--ucb/source/ucp/webdav/LockEntrySequence.cxx8
2 files changed, 12 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/LinkSequence.cxx b/ucb/source/ucp/webdav/LinkSequence.cxx
index bdd1896239ce..31ec651ef133 100644
--- a/ucb/source/ucp/webdav/LinkSequence.cxx
+++ b/ucb/source/ucp/webdav/LinkSequence.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: LinkSequence.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: rt $ $Date: 2007-07-03 12:12:27 $
+ * last change: $Author: kz $ $Date: 2007-12-12 15:32:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -180,7 +180,11 @@ bool LinkSequence::createFromXML( const rtl::OString & rInData,
rInData.getStr() + nStart,
nEnd - nStart + TOKEN_LENGTH );
+#if NEON_VERSION >= 0250
success = !ne_xml_failed( parser );
+#else
+ success = !!ne_xml_valid( parser );
+#endif
ne_xml_destroy( parser );
diff --git a/ucb/source/ucp/webdav/LockEntrySequence.cxx b/ucb/source/ucp/webdav/LockEntrySequence.cxx
index 47fb33de6c1d..b3b84a2c0ba6 100644
--- a/ucb/source/ucp/webdav/LockEntrySequence.cxx
+++ b/ucb/source/ucp/webdav/LockEntrySequence.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: LockEntrySequence.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: rt $ $Date: 2007-07-03 12:12:39 $
+ * last change: $Author: kz $ $Date: 2007-12-12 15:32:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -205,7 +205,11 @@ bool LockEntrySequence::createFromXML( const rtl::OString & rInData,
rInData.getStr() + nStart,
nEnd - nStart + TOKEN_LENGTH );
+#if NEON_VERSION >= 0250
success = !ne_xml_failed( parser );
+#else
+ success = !!ne_xml_valid( parser );
+#endif
ne_xml_destroy( parser );