Kaydet (Commit) 8063ede1 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity: fix memory leak

Change-Id: Ib92f1b80e6e597b233eed91b8ed96cdeec509c90
üst ad02b999
...@@ -749,6 +749,8 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -749,6 +749,8 @@ void ScCellShell::Execute( SfxRequest& rReq )
SfxPoolItem* pItem = 0; SfxPoolItem* pItem = 0;
if( rBindings.QueryState( nSlot, pItem ) >= SFX_ITEM_DEFAULT ) if( rBindings.QueryState( nSlot, pItem ) >= SFX_ITEM_DEFAULT )
bMerge = !static_cast< SfxBoolItem* >( pItem )->GetValue(); bMerge = !static_cast< SfxBoolItem* >( pItem )->GetValue();
delete pItem;
} }
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment