From e25669fcedcb7231254d3ba0e0224b2e3eb901d8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Oct 2015 12:52:16 +0200 Subject: don't allocate uno::Reference on the heap There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/toolkit/awt/vclxmenu.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/toolkit') diff --git a/include/toolkit/awt/vclxmenu.hxx b/include/toolkit/awt/vclxmenu.hxx index f41a5f6bd136..d092692a0110 100644 --- a/include/toolkit/awt/vclxmenu.hxx +++ b/include/toolkit/awt/vclxmenu.hxx @@ -43,7 +43,7 @@ class PopupMenu; class VclMenuEvent; typedef ::std::vector< - css::uno::Reference< css::awt::XPopupMenu >* + css::uno::Reference< css::awt::XPopupMenu > > PopupMenuRefList; -- cgit