[Libreoffice] [PATCH] SAL_N_ELEMENTS for writer, impress and calc

Kayo Hamid revol.code at yahoo.com
Sat Oct 9 10:08:41 PDT 2010



Hi Norbert, thank you. Can you explain for me where is this definition (SAL_N_ELEMENTS) that all theses sources share in common? My knowledge in C++ are few.
New patchs attached.Hi revol_

Thanks for the patch.

One remark. You want to use the macro SAL_N_ELEMENTS, not define your own ELEMENTS_OF_ARRAY in every sources.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101009/025cbe77/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.sal_n_elements.calc.diff
Type: application/octet-stream
Size: 11769 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101009/025cbe77/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.sal_n_elements.impress.diff
Type: application/octet-stream
Size: 1678 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101009/025cbe77/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.sal_n_elements.writer.diff
Type: application/octet-stream
Size: 22532 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101009/025cbe77/attachment-0005.obj>


More information about the LibreOffice mailing list