diff options
Diffstat (limited to 'xmerge')
-rw-r--r-- | xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfoReader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfoReader.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfoReader.java index aaa690412f45..21831a69173f 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfoReader.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfoReader.java @@ -82,8 +82,8 @@ public class ConverterInfoReader { JarEntry jarentry = jarConnection.getJarEntry(); JarFile jarfile = jarConnection.getJarFile(); - if (jarfile == null) { - throw new IOException("Missing jar file"); + if (jarfile == null || jarentry == null) { + throw new IOException("Missing jar entry"); } // Build the InputSource |