On Sun, Oct 17, 2010 at 2:21 PM, Kenneth Venken <kenneth.ven...@gmail.com> wrote: > replaces the ELEMENTS_OF_ARRAY macro, defined in sal/osl/os2/file_url.h, > with the SAL_N_ELEMENTS, defined in sal/macros.h > >
Thanks. Pushed except for one chunk: Be careful with 'replace all' :-) @ -48,11 +48,11 @@ #ifdef __MINGW32__ #include <ctype.h> #endif //##################################################### -#define ELEMENTS_OF_ARRAY(arr) (sizeof(arr)/(sizeof((arr)[0]))) +#define SAL_N_ELEMENTS(arr) (sizeof(arr)/(sizeof((arr)[0]))) static const wchar_t UNC_PREFIX[] = L"\\\\"; static const wchar_t BACKSLASH = '\\'; static const wchar_t SLASH = '/'; Norbert > > _______________________________________________ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > > _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice