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"
|
if ( nEnd <= nStart ) // incl. -1 for "not found"
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
OUString sPropName( rFullName.copy( nStart, nEnd - nStart ) );
|
||||||
|
|
||||||
// TODO skip whitespaces?
|
// TODO skip whitespaces?
|
||||||
if ( !rFullName.match( "xmlns:prop=\"", ++nEnd ) )
|
if ( !rFullName.match( "xmlns:prop=\"", ++nEnd ) )
|
||||||
return false;
|
return false;
|
||||||
@@ -198,6 +200,7 @@ bool DAVProperties::isUCBSpecialProperty(
|
|||||||
rParsedName = rFullName.copy( nStart, nEnd - nStart );
|
rParsedName = rFullName.copy( nStart, nEnd - nStart );
|
||||||
if ( !rParsedName.endsWith( "/" ) )
|
if ( !rParsedName.endsWith( "/" ) )
|
||||||
rParsedName += "/";
|
rParsedName += "/";
|
||||||
|
rParsedName += sPropName;
|
||||||
|
|
||||||
return rParsedName.getLength();
|
return rParsedName.getLength();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user