Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of OPCPackage#getPartsByRelationshipType
The previous version of this function would first retrieve a filtered set of all the relationships, and then for each of those, iterate through all of the relationships again before finding the part. Since the relationships returned by getRelationshipsByType() are already trusted, we can retrieve the part directly by formulating the part name from the relationship.
- Loading branch information