summaryrefslogtreecommitdiff
path: root/include/svx/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-08-20 11:30:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-20 12:43:48 +0200
commit720e4258ab5f00287098ff945a184bfb43911841 (patch)
treeeab848efc4050398d87efa7f792d8ea1b187b1a7 /include/svx/sdr
parentac586d1caecaa5be4bce05b073ce4c7bda10f13e (diff)
use Primitive2DDecompositionVisitor in ViewObjectContact (tdf#105575)
..to avoid container construction Change-Id: Iae7a8ea8c31b6c8bcf4d161273be7b32fe41a021 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120779 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sdr')
-rw-r--r--include/svx/sdr/contact/viewobjectcontact.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/sdr/contact/viewobjectcontact.hxx b/include/svx/sdr/contact/viewobjectcontact.hxx
index 92dcc7458876..dd949cf075c7 100644
--- a/include/svx/sdr/contact/viewobjectcontact.hxx
+++ b/include/svx/sdr/contact/viewobjectcontact.hxx
@@ -29,6 +29,7 @@ namespace vcl { class Region; }
namespace sdr::animation {
class PrimitiveAnimation;
}
+namespace drawinglayer::primitive2d { class Primitive2DDecompositionVisitor; }
namespace sdr::contact {
@@ -120,7 +121,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 void getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo, drawinglayer::primitive2d::Primitive2DContainer& rContainer) const;
+ 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;