diff options
Diffstat (limited to 'sd/source/ui/func/fumorph.cxx')
-rw-r--r-- | sd/source/ui/func/fumorph.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx index 4f9d2cfa89de..523ad26798c2 100644 --- a/sd/source/ui/func/fumorph.cxx +++ b/sd/source/ui/func/fumorph.cxx @@ -113,14 +113,14 @@ void FuMorph::DoExecute( SfxRequest& ) while(aIter1.IsMore()) { SdrObject* pObj = aIter1.Next(); - if(pObj && pObj->ISA(SdrPathObj)) + if(pObj && dynamic_cast< SdrPathObj *>( pObj ) != nullptr) aPolyPoly1.append(static_cast<SdrPathObj*>(pObj)->GetPathPoly()); } while(aIter2.IsMore()) { SdrObject* pObj = aIter2.Next(); - if(pObj && pObj->ISA(SdrPathObj)) + if(pObj && dynamic_cast< SdrPathObj *>( pObj ) != nullptr) aPolyPoly2.append(static_cast<SdrPathObj*>(pObj)->GetPathPoly()); } |