Skip to content

Commit 4639335

Browse files
authored
The ExcelSpreadsheet open was not considering the Template that was indicated (#1019)
Issue: 205489
1 parent 1572713 commit 4639335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gxoffice/src/main/java/com/genexus/msoffice/excel/poi/xssf/ExcelSpreadsheet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public ExcelSpreadsheet(IGXError errHandler, String fileName, String template) t
5151
GXFile templateFile = new GXFile(template);
5252
if (templateFile.exists()) {
5353
is = templateFile.getStream();
54-
_workbook = new XSSFWorkbook();
54+
_workbook = new XSSFWorkbook(is);
5555
} else {
5656
throw new ExcelTemplateNotFoundException();
5757
}

0 commit comments

Comments
 (0)