[Libreoffice] IDL "hyper" / Java "long"

Eike Rathke erack at redhat.com
Mon Oct 24 11:46:40 PDT 2011


Hi,

On Friday, 2011-10-21 18:37:34 +0200, Stephan Bergmann wrote:

> As I wrote at
> <https://bugs.freedesktop.org/show_bug.cgi?id=42005#c1>, Calc
> add-ins do not support functions that take or return UNO type hyper.
> 
> So I think that explains why an add-in using hyper in the .idl file
> does not work.

Seconded.

> Why, however, it should work if the .idl file instead uses unsigned
> hyper I do not know.

Wild guess: may it be that the .idl parser takes 'unsigned' of 'unsigned
hyper' and ignores the 'hyper', effectively mapping that to an unsigned
32-bit value and generating sal_Int32 (not uInt32 as API doesn't know
that)?

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111024/62cf9652/attachment.pgp>


More information about the LibreOffice mailing list