sPropName is needed after all

Change-Id: Ib48606425edb5f267615f4a15028b15e8fd00d5d
This commit is contained in:
Stephan Bergmann
2013-08-16 11:04:51 +02:00
parent edd51b8130
commit 27e7da1670

View File

@@ -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();
}