diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 20:54:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 21:01:46 +0000 |
commit | 3d2d60960e8a8d5bc8a90199fe90d64ca798f55c (patch) | |
tree | 8f7cfb098ad867be87f603493fe0b8c75801880f /svx | |
parent | 6812606517e9a6299fcd5fde59fd4cf414d0d493 (diff) |
coverity#1194927 allocation too small for type
Change-Id: I6ddf12cee4ea6d170c791a79014bb8400ab7d779
Diffstat (limited to 'svx')
-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 |