[Libreoffice-commits] core.git: include/cppuhelper
Noel Grandin
noelgrandin at gmail.com
Sat May 16 11:02:27 PDT 2015
include/cppuhelper/interfacecontainer.h | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 592ba8776be8e4b70264ccf1485396242ca63b24
Author: Noel Grandin <noelgrandin at gmail.com>
Date: Sun May 10 14:09:59 2015 +0200
comment the element_alias union
Change-Id: I0467b2e3d124e71da7df150da31e3936615e098b
Reviewed-on: https://gerrit.libreoffice.org/15746
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 6ec2e08..a29eba0 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;
More information about the Libreoffice-commits
mailing list