diff options
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java b/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java index 79b541100130..5c48e44e1bf8 100644 --- a/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java +++ b/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java @@ -58,11 +58,12 @@ public class _XTablesSupplier extends MultiMethodTest { (XServiceInfo.class, tabs.getByName(tabNames[0])) ; } catch (com.sun.star.uno.Exception e) {} - log.println("Support : " + - info.supportsService("com.sun.star.sdbcx.Table")) ; - + if (info != null) { + log.println("Support : " + + info.supportsService("com.sun.star.sdbcx.Table")) ; + } - tRes.tested("getTables()", tabs != null) ; + tRes.tested("getTables()", info != null) ; } } // finish class _XTablesSupplier |