summaryrefslogtreecommitdiffstats
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-12-02 11:28:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-03 08:40:23 +0100
commit085f15acfdb96155011d60b6127ea6f6e4a9a263 (patch)
tree7c3d45d5f8cb00fd75c561e854925abc96098630 /include/svx
parentuse OMultiTypeInterfaceContainerHelperVar3 in framework (diff)
downloadcore-085f15acfdb96155011d60b6127ea6f6e4a9a263.tar.gz
core-085f15acfdb96155011d60b6127ea6f6e4a9a263.zip
no need to create Primitive2DContainer here
we can just use the visitor API and skip a whole bunch of object creation Change-Id: If3dfa2fc1811e708963b8e6ecf4af6508b9f2a23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126216 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.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/sdr/contact/viewobjectcontact.hxx b/include/svx/sdr/contact/viewobjectcontact.hxx
index dd949cf075c7..453cfb2d90ea 100644
--- a/include/svx/sdr/contact/viewobjectcontact.hxx
+++ b/include/svx/sdr/contact/viewobjectcontact.hxx
@@ -124,7 +124,7 @@ public:
virtual void getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor) const;
// just process the sub-hierarchy, used as tooling from getPrimitive2DSequenceHierarchy
- drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceSubHierarchy(DisplayInfo& rDisplayInfo) const;
+ void getPrimitive2DSequenceSubHierarchy(DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor& rVisitor) const;
// interface to support GridOffset for non-linear ViewToDevice transformation (calc)
const basegfx::B2DVector& getGridOffset() const;