From a669faa1fa88d4d82d3f1d38b652b689ecc4d3a1 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Fri, 15 Jan 2016 06:26:41 +1100 Subject: vcl: allow doxygen to see boost::intrusive_ptr We are using boost::intrusive_ptr for a number of classes, unfortunately by default we cannot see this in the Doxygen collaboration diagrams. However, we can work around this problem by making a dummy namespace which we include in a header that is scanned by Doxygen, but never included in LibreOffice. To be sure of this, however, I have put #ifdef DOXYGEN_ONLY guards around the file and defined this in the Doxygen config file. Change-Id: I18d6956518a49e6006b64e2147023ec8266c8f5c --- solenv/inc/doxygen.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'solenv/inc') diff --git a/solenv/inc/doxygen.cfg b/solenv/inc/doxygen.cfg index 4591c799906a..d2927cd81ecc 100644 --- a/solenv/inc/doxygen.cfg +++ b/solenv/inc/doxygen.cfg @@ -2020,7 +2020,8 @@ PREDEFINED = LINUX \ EXCEPTIONS_ON \ _GIFPRIVATE \ _XBMPRIVATE \ - _XPMPRIVATE + _XPMPRIVATE \ + DOXYGEN_ONLY # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The -- cgit