Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.