Skip to content

Commit 04c1ef8

Browse files
committed
..
1 parent 5ee03d3 commit 04c1ef8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docviewerapi/src/com/log4ic/utils/convert/office/document/OfficeDocumentFormatRegistry.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44
import org.apache.commons.io.IOUtils;
55
import org.artofsolving.jodconverter.document.DocumentFamily;
66
import org.artofsolving.jodconverter.document.DocumentFormat;
7-
import org.artofsolving.jodconverter.document.JsonDocumentFormatRegistry;
87
import org.artofsolving.jodconverter.document.SimpleDocumentFormatRegistry;
98
import org.json.JSONArray;
109
import org.json.JSONException;
1110
import org.json.JSONObject;
1211

1312
import java.io.IOException;
1413
import java.io.InputStream;
15-
import java.util.ArrayList;
1614
import java.util.HashMap;
1715
import java.util.List;
1816
import java.util.Map;
@@ -72,6 +70,7 @@ private void readJsonArray(String source) throws JSONException {
7270
protected List<DocumentFormat> documentFormats = new FastList<DocumentFormat>();
7371

7472
public void addFormat(DocumentFormat documentFormat) {
73+
super.addFormat(documentFormat);
7574
documentFormats.add(documentFormat);
7675
}
7776

0 commit comments

Comments
 (0)