summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java b/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java
index 0b8fdb561fad..424e3d576470 100644
--- a/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java
+++ b/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java
@@ -110,8 +110,10 @@ public class _XMultiComponentFactory extends MultiMethodTest {
}
log.println("Available service names:");
- for(int i = 0; i < availableServiceNames.length; i++) {
- log.println(" " + availableServiceNames[i]);
+ if (availableServiceNames != null) {
+ for(int i = 0; i < availableServiceNames.length; i++) {
+ log.println(" " + availableServiceNames[i]);
+ }
}
tRes.tested("getAvailableServiceNames()", result);