Skip to content

Commit c4eeb16

Browse files
authored
OpenOffice converter name is set incorrectly in example #8
1 parent 35b20dc commit c4eeb16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/java/com/convertapi/examples/AlternativeConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static void main(String[] args) throws IOException, ExecutionException, I
2727

2828
System.out.println("Converting DOCX to PDF with OpenOffice converter");
2929
Param docxFileParam = new Param("file", new File(AlternativeConverter.class.getClassLoader().getResource("test.docx").getFile()).toPath());
30-
Param converterParam = new Param("converter", "openofficetopdf");
30+
Param converterParam = new Param("converter", "openoffice");
3131

3232
CompletableFuture<ConversionResult> pdfResult = ConvertApi.convert("docx", "pdf", docxFileParam, converterParam);
3333

0 commit comments

Comments
 (0)