diff options
author | Noel Grandin <noel@peralex.com> | 2021-08-13 12:28:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-16 21:40:14 +0200 |
commit | 58b2d04ddab5a678921610bf9e9a5a95ae660a17 (patch) | |
tree | b7904a8be15007258f4a5d4b37388a9784bf5694 /include/svx | |
parent | faee2796e3f3d98521b4b23b167b688171560254 (diff) |
do less copying when constructing 2d sequence (tdf#105575)
instead of constructing a child sequence, and appending that
a parent sequence, just pass the parent sequence down the call
hierarchy, so we end up doing less copying.
Change-Id: If39a0779e543c6aa01f5e2e3ae63d395e0c85f7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120521
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdr/contact/viewobjectcontact.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/sdr/contact/viewobjectcontact.hxx b/include/svx/sdr/contact/viewobjectcontact.hxx index a12cb0b2915e..92dcc7458876 100644 --- a/include/svx/sdr/contact/viewobjectcontact.hxx +++ b/include/svx/sdr/contact/viewobjectcontact.hxx @@ -120,7 +120,7 @@ public: // process this primitive: Eventually also recursively travel an existing hierarchy, // e.g. for group objects, scenes or pages. This method will test geometrical visibility. - virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const; + virtual void getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DContainer& rContainer) const; // just process the sub-hierarchy, used as tooling from getPrimitive2DSequenceHierarchy drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceSubHierarchy(DisplayInfo& rDisplayInfo) const; |