summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 16:32:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 16:32:27 +0100
commita0be15e5d4747bb335467dba7004e52eceb8fe2a (patch)
treeaa9eb988c180155cc2f368aab3ed2daae853532e /include/cppuhelper
parentRemove additional empty line from license header (diff)
downloadcore-a0be15e5d4747bb335467dba7004e52eceb8fe2a.tar.gz
core-a0be15e5d4747bb335467dba7004e52eceb8fe2a.zip
Note why certain replacements of odd functionality are not there by design
Change-Id: Iaa3110eaea5e295a193642555b7e14ab3fb6ff96
Diffstat (limited to 'include/cppuhelper')
-rw-r--r--include/cppuhelper/compbase.hxx4
-rw-r--r--include/cppuhelper/implbase.hxx8
2 files changed, 12 insertions, 0 deletions
diff --git a/include/cppuhelper/compbase.hxx b/include/cppuhelper/compbase.hxx
index 767e302a5548..0b67044783cd 100644
--- a/include/cppuhelper/compbase.hxx
+++ b/include/cppuhelper/compbase.hxx
@@ -42,6 +42,10 @@ namespace osl { class Mutex; }
#if defined LIBO_INTERNAL_ONLY
+// A replacement for WeakAggComponentImplHelper1 has deliberately been left out,
+// as the underlying aggregation mechanism is known broken in general and should
+// not be used.
+
namespace cppu {
/** Implementation helper implementing interfaces
diff --git a/include/cppuhelper/implbase.hxx b/include/cppuhelper/implbase.hxx
index 37b6a1cacb14..abf00f3512f0 100644
--- a/include/cppuhelper/implbase.hxx
+++ b/include/cppuhelper/implbase.hxx
@@ -38,6 +38,14 @@
#if defined LIBO_INTERNAL_ONLY
+// A replacement for ImplHelperN has deliberately been left out, as ImplHelperN
+// is unlikely ever be a better choice htan WeakImplHelper, so all their
+// existing uses are probably confused and should use WeakImplHelper instead.
+//
+// Replacements for WeakAggImplHelperN and AggImplInheritanceHelper1 have
+// deliberately been left out, as the underlying aggregation mechanism is known
+// broken in general and should not be used.
+
namespace cppu {
/// @cond INTERNAL