Kaydet (Commit) f173e148 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326573 Unused value

Change-Id: I72f70f8f0e01cdd59c2086244f328a007563adbd
üst f1207dbd
...@@ -70,6 +70,7 @@ public class _XMimeContentTypeFactory extends MultiMethodTest { ...@@ -70,6 +70,7 @@ public class _XMimeContentTypeFactory extends MultiMethodTest {
result = false ; result = false ;
} }
if (result == true) {
try { try {
oObj.createMimeContentType("nosuchtype") ; oObj.createMimeContentType("nosuchtype") ;
...@@ -78,6 +79,7 @@ public class _XMimeContentTypeFactory extends MultiMethodTest { ...@@ -78,6 +79,7 @@ public class _XMimeContentTypeFactory extends MultiMethodTest {
} catch (com.sun.star.lang.IllegalArgumentException e) { } catch (com.sun.star.lang.IllegalArgumentException e) {
log.println("Right exception was thrown." ) ; log.println("Right exception was thrown." ) ;
} }
}
tRes.tested("createMimeContentType()", result) ; tRes.tested("createMimeContentType()", result) ;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment