i tried it with a OOo 3.1.1 and a development build dev300m61. Both works as expected.

Have you used the NB plugin wizard to create your project? How does your CalcAddins.xcu looks like?

Well i have no real idea what's going wrong in your case.

Juergen

Irné Barnard wrote:
Thanks I tried that. The compile worked fine, however testing in OOo3.1 crashes if I use the formula wizard. Here's the code:

IDL: string Num2Eng([in] double nValue, [in] sequence< any >  sFormat);

Java:
   public String Num2Eng(double nValue, Object[] sFormat) {
       String sResult = new String();
       sResult = String.valueOf(nValue);
       if (sFormat.length > 0) {
           sResult.concat(", ");
           sResult.concat(String.valueOf(sFormat.length));
           sResult.concat(", ");
           sResult.concat(sFormat.toString());
       }
       return sResult;
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to