summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-05-10 14:09:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-16 18:02:03 +0000
commit592ba8776be8e4b70264ccf1485396242ca63b24 (patch)
tree2afd1bb1adf848fb8fd3ccf13386d7c58fe3f4fe /include/cppuhelper
parenttdf#91259 Crash when closing Help (diff)
downloadcore-592ba8776be8e4b70264ccf1485396242ca63b24.tar.gz
core-592ba8776be8e4b70264ccf1485396242ca63b24.zip
comment the element_alias union
Change-Id: I0467b2e3d124e71da7df150da31e3936615e098b Reviewed-on: https://gerrit.libreoffice.org/15746 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/cppuhelper')
-rw-r--r--include/cppuhelper/interfacecontainer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 6ec2e08170d3..a29eba04e752 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -41,6 +41,10 @@ namespace cppu
namespace detail {
+ /**
+ This is here to optimise space in the common case that there are zero or one
+ listeners.
+ */
union element_alias
{
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > *pAsSequence;