required/SRC680 CWS sb25 : Dynamic libraries xo and sfx export restricted sets of symbols

[email protected] Wed, 21 Sep 2005 13:09:57 +0200 (CEST)
Newsgroups gmane.comp.openoffice.announce.interface
Message-ID <2064402.1127300997806.JavaMail.root@sd-web1>
Type
required

Title
Dynamic libraries xo and sfx export restricted sets of symbols

Posted by
[email protected]

Affected
,.

Effective from
SRC680 CWS sb25

Summary

+ xmloff/inc/xmloff/dllapi.hxx:
+ #define XMLOFF_DLLPUBLIC
+ xmloff/util/makefile.pmk:
+ -DXMLOFF_DLLIMPLEMENTATION

+ sfx2/inc/sfx2/dllapi.hxx:
+ #define SFX2_DLLPUBLIC
~ sfx2/util/makefile.pmk:
+ -DSFX2_DLLIMPLEMENTATION

Description

The dynamic libraries xo (module xmloff) and sfx (module sfx2) now use
the SAL_DLL stuff to restrict their sets of exported symbols. This
means that, for each of the two libraries:
1 Each function, class, or static object that shall be exported has
to be marked as XMLOFF_DLLPUBLIC resp. SFX2_DLLPUBLIC.
2 Each such entity recursively located within an exported class, and
which shall itself not be exported, should be marked as SAL_DLLPRIVATE.
3 Each makefile.mk used to compile definitions of entities covered by
1 must include the relevant util/makefile.pmk after settings.mk.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]