include/cppuhelper/interfacecontainer.h | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 592ba8776be8e4b70264ccf1485396242ca63b24 Author: Noel Grandin <noelgran...@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 <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits