summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/doxygen_dummy.hxx8
-rw-r--r--solenv/inc/doxygen.cfg3
2 files changed, 10 insertions, 1 deletions
diff --git a/include/vcl/doxygen_dummy.hxx b/include/vcl/doxygen_dummy.hxx
new file mode 100644
index 000000000000..b10c81fdf0b2
--- /dev/null
+++ b/include/vcl/doxygen_dummy.hxx
@@ -0,0 +1,8 @@
+// Do NOT include this file anywhere! This is merely used to make Doxygen see
+// boost intrusive_ptr's - otherwise it doesn't build the collaboration diagram
+// correctly
+#ifdef DOXYGENONLY
+
+namespace boost { template<class T> class intrusive_ptr { T *ptr; }; }
+
+#endif
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