Kaydet (Commit) 577d7ecd authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity: fix memory leak

Change-Id: I5e293c67691e0efaded2c359a35e3bbb00dcb3d8
üst 9904fea6
......@@ -379,6 +379,8 @@ bool ScViewUtil::IsFullScreen( SfxViewShell& rViewShell )
if (rBindings.QueryState( SID_WIN_FULLSCREEN, pItem ) >= SFX_ITEM_DEFAULT)
bIsFullScreen = static_cast< SfxBoolItem* >( pItem )->GetValue();
delete pItem;
return bIsFullScreen;
}
......
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