summaryrefslogtreecommitdiff
path: root/ucb/source/ucp
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-12-12 14:33:03 +0000
committerKurt Zenker <kz@openoffice.org>2007-12-12 14:33:03 +0000
commitd85fd0a85cf4c2b182696a3294e78a6bab6a31ff (patch)
tree4224ea914877e1df9e0d6cefe6605c1ced09ee0a /ucb/source/ucp
parent3ccc2d7af59943ac11e44ae04f7a0926c36ee9da (diff)
INTEGRATION: CWS pmladek08 (1.14.34); FILE MERGED
2007/12/10 14:15:41 pmladek 1.14.34.1: #i82569# add back support for build with neon-0.24.X
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r--ucb/source/ucp/webdav/LockSequence.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/LockSequence.cxx b/ucb/source/ucp/webdav/LockSequence.cxx
index acf3300ea1fe..9e41c8066eed 100644
--- a/ucb/source/ucp/webdav/LockSequence.cxx
+++ b/ucb/source/ucp/webdav/LockSequence.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: LockSequence.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2007-07-03 12:12:52 $
+ * last change: $Author: kz $ $Date: 2007-12-12 15:33:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -338,7 +338,11 @@ bool LockSequence::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 );