aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java')
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java b/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java
index 0be0142d45..f408d936ce 100644
--- a/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java
+++ b/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java
@@ -440,9 +440,9 @@ public class StylesTable extends POIXMLDocumentPart {
}
protected CTDxf getDxf(int idx) {
- if(dxfs.size()==0)
- return CTDxf.Factory.newInstance();
- else
+ if (dxfs.size()==0) {
+ return CTDxf.Factory.newInstance();
+ }
return dxfs.get(idx);
}