diff options
-rw-r--r-- | wizards/com/sun/star/wizards/db/DBMetaData.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index a75009cff511..9e8b98d57548 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -959,6 +959,8 @@ public class DBMetaData private String[] StringsFromResultSet(XResultSet _xResultSet, int _icol) { String[] sColValues = null; + if (_xResultSet == null) + return sColValues; try { XRow xRow = UnoRuntime.queryInterface( XRow.class, _xResultSet ); |