mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Update XSSFReader.java
This commit is contained in:
parent
4a9c9271fe
commit
e070250352
@ -178,7 +178,7 @@ public class XSSFReader {
|
||||
// Create the Styles Table, and associate the Themes if present
|
||||
StylesTable styles = new StylesTable(parts.get(0));
|
||||
parts = pkg.getPartsByContentType(XSSFRelation.THEME.getContentType());
|
||||
if (parts.size() != 0) {
|
||||
if (!parts.isEmpty()) {
|
||||
styles.setTheme(new ThemesTable(parts.get(0)));
|
||||
}
|
||||
return styles;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user