summaryrefslogtreecommitdiff
path: root/include/sfx2/linkmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-27 15:12:58 +0200
committerMichael Stahl <mstahl@redhat.com>2015-10-27 15:35:36 +0000
commit623f5b26ffd77041d0b06d7ce9c3b32d05625440 (patch)
treeecd905d6657147b1c5a074b4d33f914f0039440c /include/sfx2/linkmgr.hxx
parent446f17f6c1f98b17ceb6750f5dc67a27330d1351 (diff)
don't allocate rtl::Reference or SvRef on the heap
There is no point, since it's the size of a pointer anyway Found by temporarily making their 'operator new' methods deleted. Change-Id: I265e40ce93ad4bad08b4f0bd49db08929e44b7d6 Reviewed-on: https://gerrit.libreoffice.org/19628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/sfx2/linkmgr.hxx')
-rw-r--r--include/sfx2/linkmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/linkmgr.hxx b/include/sfx2/linkmgr.hxx
index f0941e221cec..787a9526b748 100644
--- a/include/sfx2/linkmgr.hxx
+++ b/include/sfx2/linkmgr.hxx
@@ -44,7 +44,7 @@ namespace sfx2
// FormatID "RegisterStatusInfoId" and a string as the data container.
// This contains the following enum.
-typedef std::vector<tools::SvRef<SvBaseLink>*> SvBaseLinks;
+typedef std::vector<tools::SvRef<SvBaseLink> > SvBaseLinks;
typedef std::set<SvLinkSource*> SvLinkSources;