summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java')
-rw-r--r--qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
index d8d64f11fb99..84c263ec79d4 100644
--- a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
+++ b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
@@ -304,7 +304,7 @@ public class CheckModuleAPI extends ComplexTestCase
moduleNames.add(sModuleName);
}
}
- names = moduleNames.toArray(new String[0]);
+ names = moduleNames.toArray(new String[moduleNames.size()]);
}
catch (ParameterNotFoundException ex)
{
@@ -465,7 +465,7 @@ public class CheckModuleAPI extends ComplexTestCase
}
}
- final String[] names = moduleNames.toArray(new String[0]);
+ final String[] names = moduleNames.toArray(new String[moduleNames.size()]);
return names;
}