coverity#708174 Uninitialized pointer field

Change-Id: I285e236c13ce3a95a1ca9644997fcccdb90daacf
This commit is contained in:
Caolán McNamara
2014-05-01 09:41:59 +01:00
parent 1e923777a1
commit b8c033869e
2 changed files with 23 additions and 16 deletions

View File

@@ -32,7 +32,6 @@ struct SfxViewFrame_Impl
SvBorder aBorder;
Size aMargin;
Size aSize;
TypeId aLastType;
OUString aActualURL;
SfxFrame& rFrame;
svtools::AsynchronLink* pReloader;
@@ -60,6 +59,15 @@ struct SfxViewFrame_Impl
, pWindow(0)
, pActiveChild(0)
, pFocusWin(0)
, nDocViewNo(0)
, nCurViewId(0)
, bResizeInToOut(false)
, bDontOverwriteResizeInToOut(false)
, bObjLocked(false)
, bReloading(false)
, bIsDowning(false)
, bModal(false)
, bEnabled(false)
, bWindowWasEnabled(true)
, bActive(false)
{

View File

@@ -1081,7 +1081,6 @@ void SfxViewFrame::ReleaseObjectShell_Impl()
if ( xObjSh.Is() )
{
pImp->aLastType = xObjSh->Type();
pDispatcher->Pop( *xObjSh );
SfxModule* pModule = xObjSh->GetModule();
if( pModule )