summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qadevOOo/runner/helper/APIDescGetter.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java
index 0320fb581bf6..217e241b34fd 100644
--- a/qadevOOo/runner/helper/APIDescGetter.java
+++ b/qadevOOo/runner/helper/APIDescGetter.java
@@ -361,11 +361,14 @@ public class APIDescGetter extends DescGetter
{
parent.hasErrorMsg = true;
parent.ErrorMsg = "IOException while reading the description";
-
- return null;
+ break;
}
}
+ if (ifcDesc == null) {
+ return null;
+ }
+
ifcDesc.SubEntries = getDescArray(meth_names.toArray());
ifcDesc.SubEntryCount = meth_names.size();