diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-12-12 14:34:39 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-12-12 14:34:39 +0000 |
commit | 9f9deafb00b5d142effab3e052a21a35fdc84db1 (patch) | |
tree | 083a5ecd18d9748f6815481a194639a89ae9fa18 /ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx | |
parent | 38fe08ef31da8af435a608b5a78f98cc8a906086 (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.cxx | 8 |
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 ); |