fdo#69772 make StringsFromResultSet more robust
Correctly handle case argument _xResultSet == null, instead of throwing a NullPointerException. Change-Id: I81e35c77116e2e0302da86f03f7e757a52e97b29
This commit is contained in:
parent
d1fdaafd7c
commit
a95ecd8b65
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user