diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-27 15:12:58 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-27 15:35:36 +0000 |
commit | 623f5b26ffd77041d0b06d7ce9c3b32d05625440 (patch) | |
tree | ecd905d6657147b1c5a074b4d33f914f0039440c /include/xmloff | |
parent | 446f17f6c1f98b17ceb6750f5dc67a27330d1351 (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/xmloff')
-rw-r--r-- | include/xmloff/xmlmultiimagehelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmlmultiimagehelper.hxx b/include/xmloff/xmlmultiimagehelper.hxx index c15bdbd33bf5..c8d88b273fb2 100644 --- a/include/xmloff/xmlmultiimagehelper.hxx +++ b/include/xmloff/xmlmultiimagehelper.hxx @@ -28,7 +28,7 @@ class MultiImageImportHelper { private: - std::vector< SvXMLImportContextRef* > maImplContextVector; + std::vector< SvXMLImportContextRef > maImplContextVector; bool mbSupportsMultipleContents; protected: |