summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-12-12 14:34:39 +0000
committerKurt Zenker <kz@openoffice.org>2007-12-12 14:34:39 +0000
commit9f9deafb00b5d142effab3e052a21a35fdc84db1 (patch)
tree083a5ecd18d9748f6815481a194639a89ae9fa18 /ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
parent38fe08ef31da8af435a608b5a78f98cc8a906086 (diff)
INTEGRATION: CWS pmladek08 (1.16.34); FILE MERGED
2007/12/10 14:15:41 pmladek 1.16.34.1: #i82569# add back support for build with neon-0.24.X
Diffstat (limited to 'ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx')
-rw-r--r--ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
index 030cbda95c94..7bb9ffd0110a 100644
--- a/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
+++ b/ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: UCBDeadPropertyValue.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: rt $ $Date: 2007-07-03 12:14:22 $
+ * last change: $Author: kz $ $Date: 2007-12-12 15:34:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -393,7 +393,11 @@ bool UCBDeadPropertyValue::createFromXML( const rtl::OString & rInData,
ne_xml_parse( parser, rInData.getStr(), rInData.getLength() );
+#if NEON_VERSION >= 0250
success = !ne_xml_failed( parser );
+#else
+ success = !!ne_xml_valid( parser );
+#endif
ne_xml_destroy( parser );