coverity#1326573 Unused value
Change-Id: I72f70f8f0e01cdd59c2086244f328a007563adbd
diff --git a/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java b/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java
index 68e47d2..18b6e91 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java
@@ -70,13 +70,15 @@ public class _XMimeContentTypeFactory extends MultiMethodTest {
result = false ;
}
try {
oObj.createMimeContentType("nosuchtype") ;
if (result == true) {
try {
oObj.createMimeContentType("nosuchtype") ;
log.println("!!! No exception was thrown on wrong MIME type !!!") ;
result = false ;
} catch (com.sun.star.lang.IllegalArgumentException e) {
log.println("Right exception was thrown." ) ;
log.println("!!! No exception was thrown on wrong MIME type !!!") ;
result = false ;
} catch (com.sun.star.lang.IllegalArgumentException e) {
log.println("Right exception was thrown." ) ;
}
}
tRes.tested("createMimeContentType()", result) ;