summaryrefslogtreecommitdiff
path: root/include/svx/svdoedge.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 16:06:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 19:35:35 +0200
commit79e1d1353b4bed9a120c44b3a0436d4b041c30f7 (patch)
tree283a04d6c81cfc10356c6b338a6f0922183a40d1 /include/svx/svdoedge.hxx
parentb23b1295af584162f95c1559a3d8f8bbe4824413 (diff)
tdf#119388 use virtual to bypass dynamic_cast
in SdrObjList::ReformatAllEdgeObjects, shaves 10% of the time off Change-Id: Iceee362d0e3326d046f1ef5039457941160cee4f Reviewed-on: https://gerrit.libreoffice.org/78019 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdoedge.hxx')
-rw-r--r--include/svx/svdoedge.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 16127d914ec8..f2b707f7fbe2 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -168,6 +168,8 @@ public:
void SetSuppressDefaultConnect(bool bNew) { mbSuppressDefaultConnect = bNew; }
bool GetSuppressDefaultConnect() const { return mbSuppressDefaultConnect; }
+ virtual bool IsSdrEdgeObj() const override { return true; }
+
protected:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override;