diff options
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/webdav/LinkSequence.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/LockEntrySequence.cxx | 8 |
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 ); |