summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/LockSequence.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/LockSequence.cxx')
-rw-r--r--ucb/source/ucp/webdav/LockSequence.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/LockSequence.cxx b/ucb/source/ucp/webdav/LockSequence.cxx
index f34ede38d40e..e55de62e5552 100644
--- a/ucb/source/ucp/webdav/LockSequence.cxx
+++ b/ucb/source/ucp/webdav/LockSequence.cxx
@@ -74,12 +74,11 @@ struct LockSequenceParseContext
extern "C" int LockSequence_startelement_callback(
void *,
int parent,
- const char *nspace,
+ const char * /*nspace*/,
const char *name,
const char ** )
{
- if ( ( name != 0 ) &&
- ( ( nspace == 0 ) || ( strcmp( nspace, "" ) == 0 ) ) )
+ if ( name != 0 )
{
switch ( parent )
{
@@ -347,7 +346,7 @@ bool LockSequence::createFromXML( const rtl::OString & rInData,
rOutData[ nCount - 1 ] = *aCtx.pLock;
}
- nStart = nEnd + TOKEN_LENGTH + 1;
+ nStart = nEnd + TOKEN_LENGTH;
nEnd = rInData.indexOf( "</activelock>", nStart );
}