diff options
-rw-r--r-- | include/svx/svdobj.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdoedge.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 2d3dd91f90c0..0b1e5c3a832b 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -911,8 +911,6 @@ public: void setSuitableOutlinerBg(Outliner& rOutliner) const; - virtual bool IsSdrEdgeObj() const { return false; } - protected: tools::Rectangle aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...) Point aAnchor; // anchor position (Writer) diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx index f2b707f7fbe2..16127d914ec8 100644 --- a/include/svx/svdoedge.hxx +++ b/include/svx/svdoedge.hxx @@ -168,8 +168,6 @@ 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; 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); |