summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r--qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java b/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java
index a3c42cc345ed..f77b3ba7b359 100644
--- a/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java
+++ b/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java
@@ -86,7 +86,9 @@ public class _XIdlReflection extends MultiMethodTest{
XIdlClass cls = oObj.getType(obj);
- log.println("The name is " + cls.getName());
+ if (cls != null) {
+ log.println("The name is " + cls.getName());
+ }
tRes.tested("getType()", cls != null);
}