Hi all,

Due to the recent <http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=13213> and <http://www.openoffice.org/issues/show_bug.cgi?id=44685>, I want to remind you of the fact that:

  In UNO, only interface types know the concept of null values.

For example, it does not work to specify that a UNO interface method that takes a parameter of type sequence<string> behaves in a special way if it is called with a null value for that parameter---there simply is no null value of the UNO type sequence<string>, so there is no legal way to call the method with such a value. Please bear that in mind when you design new UNO types.

Also, the term "null any" is also often used to mean a void any (also sometimes called an "empty any"). The term "null any" is ambigiuos (is it an any containing the single value of type void, or an any containing the null value of type XInterface, or an any containing the null value of any other interface type?) and should thus be avoided in favor of "void any."

-Stephan

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



Reply via email to