summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-06 15:40:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-07 09:23:35 +0200
commite54c167de6a15adc61dea8a1ac3a31e202573afa (patch)
tree1427ba22464e206613a73cf5128e5c9dbadde868 /include
parentbb5d2ef28be74356f966cc9534480f59153c7107 (diff)
address some review comments
from https://gerrit.libreoffice.org/c/core/+/21643/6/ Change-Id: I6df2de42e99b30b5a9c9d098b0873d2390fe5e8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120118 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/interfacecontainer2.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/comphelper/interfacecontainer2.hxx b/include/comphelper/interfacecontainer2.hxx
index 626ef830211d..e001f56e6245 100644
--- a/include/comphelper/interfacecontainer2.hxx
+++ b/include/comphelper/interfacecontainer2.hxx
@@ -53,11 +53,11 @@ namespace detail {
class OInterfaceContainerHelper2;
/**
- This is the iterator of an InterfaceContainerHelper. Typically
+ This is the iterator of an OInterfaceContainerHelper2. Typically
one constructs an instance on the stack for one firing session.
It is not allowed to assign or copy an instance of this class.
- @see OInterfaceContainerHelper
+ @see OInterfaceContainerHelper2
*/
class COMPHELPER_DLLPUBLIC OInterfaceIteratorHelper2
{
@@ -111,9 +111,13 @@ private:
/**
A container of interfaces. To access the elements use an iterator.
- This implementation is thread save.
+ This implementation is thread-safe.
- @see OInterfaceIteratorHelper
+ This is a copy of the code at include/cppuhelper/interfacecontainer.h,
+ Except that it uses a std::vector instead of a Sequence for the mutable listener
+ list, which provides far better performance.
+
+ @see OInterfaceIteratorHelper2
*/
class COMPHELPER_DLLPUBLIC OInterfaceContainerHelper2
{