diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdedtv2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 2c755b046c10..c82e4e633eca 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1556,7 +1556,7 @@ void SdrEditView::ImpDismantleOneObject(const SdrObject* pObj, SdrObjList& rOL, if(pCustomShape->HasText() && !pCustomShape->IsTextPath()) { // #i37011# also create a text object and add at rPos + 1 - SdrTextObj* pTextObj = (SdrTextObj*)SdrObjFactory::MakeNewObject( + SdrObject* pTextObj = SdrObjFactory::MakeNewObject( pCustomShape->GetObjInventor(), OBJ_TEXT, 0L, pCustomShape->GetModel()); // Copy text content |