sPropName is needed after all
Change-Id: Ib48606425edb5f267615f4a15028b15e8fd00d5d
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user