Note: I am using OOo 2.0 Beta on Windows and Linux.

Some interfaces accept an array as the argument. In two of these interfaces, for example XDatabaseMetaData.getTables(), it is specified that the argument should be NULL in some cases.

http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/XDatabaseMetaData.html#getTables


Well, under windows, I simply use Dim oNull As Object oMeta.getTables(oNull, "%", "%", oNull)

And things work as expected... On Linux, however, there is an error when the target argument is an array. The error is "Can not coerce argument type during coreflection". Should I use a different method to pass a NULL, or did I find a bug that exists only on Linux.

I am assuming, a bug, but if this is really a problem on my end, then I should remove the case that I opened...

http://qa.openoffice.org/issues/show_bug.cgi?id=44541

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info:  http://www.pitonyak.org/oo.php


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to