Hello, Stephan,
many thanks for your support, competent and understandable, as always :)
Kind regards
Regina
Stephan Bergmann schrieb am 14-May-19 um 17:19:
On 14/05/2019 17:05, Regina Henschel wrote:
The technically preferred solution would be if you can somehow avoid
calling those functions directly from the test code.
I have seen no way. Any idea? Something generic, that works on a lot
of shapes?
No idea (I don't know anything about the relevant code).
Less appealing
hacks to get it working are either to not mark those functions as
SVX_DLLPRIVATE in include/svx/svdoashp.hxx,
Have there been special reasons to exclude these functions? They are
public functions.
No idea. Presumably those functions were not deemed relevant for code
outside svxcore.
or to make
svx/CppunitTest_svx_unit.mk use gb_CppunitTest_use_library_objects to
directly include (copies of) the svxcore objects, instead of using
gb_CppunitTest_use_libraries to link against the svxcore library.
Do you prefer one of the two "hacks" over the other?
Not really. The first approach is definitely easier to implement, while
the second one could be considered cleaner, as it leaves the set of
exported symbols untouched.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
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.