[bug-66216] fix issue where pivotTable.getPivotCacheDefinition() returns null

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-08-15 23:01:50 +00:00
parent 3184a18b40
commit 2343428015

View File

@ -97,6 +97,7 @@ public class XSSFPivotTable extends POIXMLDocumentPart {
for (POIXMLDocumentPart documentPart : getRelations()) {
if (documentPart instanceof XSSFPivotCacheDefinition) {
pivotCacheDefinition = (XSSFPivotCacheDefinition) documentPart;
break;
}
}
}