summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/LinkSequence.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/LinkSequence.cxx')
-rw-r--r--ucb/source/ucp/webdav/LinkSequence.cxx8
1 files changed, 6 insertions, 2 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 );