diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 14:45:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 21:19:16 +0200 |
commit | 61c97e941b1d73bf94293f05fdd26636b55a4bce (patch) | |
tree | 7fa7f7bd0a09fc15ede2f147d1af1ce7e4de416c /svx | |
parent | 83c004d9b85b920f9de21c429ef4495db45f12e0 (diff) |
no need to add a new virtual method (tdf#119388 related)
we can re-use the existing GetObjIdentifier infrastructure
Change-Id: Ie604d643186a925da41a1e67ccd5f2461ceb20f1
Reviewed-on: https://gerrit.libreoffice.org/78193
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 0d38249b2d04..ae0a0c3cc1e3 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -613,7 +613,7 @@ void SdrObjList::ReformatAllEdgeObjects() while(aIter.IsMore()) { SdrObject* pObj = aIter.Next(); - if (!pObj->IsSdrEdgeObj()) + if (pObj->GetObjIdentifier() != OBJ_EDGE) continue; SdrEdgeObj* pSdrEdgeObj = static_cast< SdrEdgeObj* >(pObj); |