[Bug 68849] Other: Add header guards to all include files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 21 17:25:29 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68849

--- Comment #7 from Thomas Arnhold <thomas at arnhold.org> ---
I'll use the following scheme for all new or changed header guards:

All uppercase: INCLUDED_%modulename_%filename_%extension

Examples:

basic/source/runtime/rtlproto.hxx -> INCLUDED_BASIC_RTLPROTO_HXX
embeddedobj/source/inc/closepreventer.hxx ->
INCLUDED_EMBEDDEDOBJ_CLOSEPREVENTER_HXX
sd/source/ui/inc/dlgass.hxx -> INCLUDED_SD_DLGASS_HXX

With this INCLUDED prefix we will always be able to identify this as include
guard. This will be an advantage for future scripting efforts.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131021/c024cd89/attachment.html>


More information about the LibreOffice mailing list