Hi, The setup problem on starmath import CppunitTest has been resolved finally after a month I had been stuck for understanding why the initial patch did not work; linking objects in the sm library to the test case by calling gb_CppunitTest_use_library_objects caused arranging two different addresses of duplicate entries in runtime for SmModel::getUnoTunnelId(), which unexpectedly ended up returnig one of the two different UUIDs arbitrarily for each time.
Thus I have tried linking the sm (and smd) shared library by gb_CppunitTest_use_libraries instead. This however requires that some symbols used in the test case are visible. So I have introduced the SM_DLLPUBLIC trick in new smdllapi.h, as like in sc / sd / sw. The CppunitTest has passed now. You can find the revised patch at <https://gerrit.libreoffice.org/13861>. Cheers, -- Takeshi Abe _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice