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>
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 2d3dd91..0b1e5c3 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 f2b707f..16127d9 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 0d38249..ae0a0c3 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);