From 27e7da167052900214e61e6792da93e3ba1310f5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 16 Aug 2013 11:04:51 +0200 Subject: sPropName is needed after all Change-Id: Ib48606425edb5f267615f4a15028b15e8fd00d5d --- ucb/source/ucp/webdav-neon/DAVProperties.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav-neon/DAVProperties.cxx b/ucb/source/ucp/webdav-neon/DAVProperties.cxx index 8015b123a2e9..7abdb6f7a37a 100644 --- a/ucb/source/ucp/webdav-neon/DAVProperties.cxx +++ b/ucb/source/ucp/webdav-neon/DAVProperties.cxx @@ -183,6 +183,8 @@ bool DAVProperties::isUCBSpecialProperty( if ( nEnd <= nStart ) // incl. -1 for "not found" return false; + OUString sPropName( rFullName.copy( nStart, nEnd - nStart ) ); + // TODO skip whitespaces? if ( !rFullName.match( "xmlns:prop=\"", ++nEnd ) ) return false; @@ -198,6 +200,7 @@ bool DAVProperties::isUCBSpecialProperty( rParsedName = rFullName.copy( nStart, nEnd - nStart ); if ( !rParsedName.endsWith( "/" ) ) rParsedName += "/"; + rParsedName += sPropName; return rParsedName.getLength(); } -- cgit