summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-05-22 18:47:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-23 14:36:47 +0200
commit8de6e211b760761f1f80b2a7371a5f6b640ab14e (patch)
tree491c5af3970afac184b0e31aba8ace51b228a6f7 /include
parentf1ac4376ffaee143ad24931744637aa0a4717016 (diff)
tdf#155410 move some layer/object visibility computation inside SdrObject
which has the nice effect of (a) removing some duplicated code (b) being more efficient with deeply nested complex objects Change-Id: Ifee10d40fca3faac0f5a7b79febdba756850f30f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152124 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdobj.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index ab5066d699a2..54376b1f0397 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -364,8 +364,7 @@ public:
virtual SdrLayerID GetLayer() const;
virtual void NbcSetLayer(SdrLayerID nLayer);
virtual void SetLayer(SdrLayerID nLayer);
- // renaming GetSdrLayerIDSet -> getMergedHierarchySdrLayerIDSet to make clear what happens here. rSet needs to be empty.
- void getMergedHierarchySdrLayerIDSet(SdrLayerIDSet& rSet) const;
+ bool isVisibleOnAnyOfTheseLayers(const SdrLayerIDSet& rSet) const;
void SendUserCall(SdrUserCallType eUserCall, const tools::Rectangle& rBoundRect) const;