coverity#708174 Uninitialized pointer field
Change-Id: I285e236c13ce3a95a1ca9644997fcccdb90daacf
This commit is contained in:
@@ -32,7 +32,6 @@ struct SfxViewFrame_Impl
|
|||||||
SvBorder aBorder;
|
SvBorder aBorder;
|
||||||
Size aMargin;
|
Size aMargin;
|
||||||
Size aSize;
|
Size aSize;
|
||||||
TypeId aLastType;
|
|
||||||
OUString aActualURL;
|
OUString aActualURL;
|
||||||
SfxFrame& rFrame;
|
SfxFrame& rFrame;
|
||||||
svtools::AsynchronLink* pReloader;
|
svtools::AsynchronLink* pReloader;
|
||||||
@@ -54,21 +53,30 @@ struct SfxViewFrame_Impl
|
|||||||
::boost::optional< bool >
|
::boost::optional< bool >
|
||||||
aHasToolPanels;
|
aHasToolPanels;
|
||||||
|
|
||||||
SfxViewFrame_Impl( SfxFrame& i_rFrame )
|
SfxViewFrame_Impl(SfxFrame& i_rFrame)
|
||||||
: rFrame( i_rFrame )
|
: rFrame(i_rFrame)
|
||||||
, pReloader(0 )
|
, pReloader(0)
|
||||||
, pWindow( 0 )
|
, pWindow(0)
|
||||||
, pActiveChild(0)
|
, pActiveChild(0)
|
||||||
, pFocusWin(0)
|
, pFocusWin(0)
|
||||||
, bWindowWasEnabled(true)
|
, nDocViewNo(0)
|
||||||
, bActive( false )
|
, nCurViewId(0)
|
||||||
{
|
, bResizeInToOut(false)
|
||||||
}
|
, bDontOverwriteResizeInToOut(false)
|
||||||
|
, bObjLocked(false)
|
||||||
|
, bReloading(false)
|
||||||
|
, bIsDowning(false)
|
||||||
|
, bModal(false)
|
||||||
|
, bEnabled(false)
|
||||||
|
, bWindowWasEnabled(true)
|
||||||
|
, bActive(false)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
~SfxViewFrame_Impl()
|
~SfxViewFrame_Impl()
|
||||||
{
|
{
|
||||||
delete pReloader;
|
delete pReloader;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class SfxFrameViewWindow_Impl : public Window
|
class SfxFrameViewWindow_Impl : public Window
|
||||||
|
@@ -1081,7 +1081,6 @@ void SfxViewFrame::ReleaseObjectShell_Impl()
|
|||||||
|
|
||||||
if ( xObjSh.Is() )
|
if ( xObjSh.Is() )
|
||||||
{
|
{
|
||||||
pImp->aLastType = xObjSh->Type();
|
|
||||||
pDispatcher->Pop( *xObjSh );
|
pDispatcher->Pop( *xObjSh );
|
||||||
SfxModule* pModule = xObjSh->GetModule();
|
SfxModule* pModule = xObjSh->GetModule();
|
||||||
if( pModule )
|
if( pModule )
|
||||||
|
Reference in New Issue
Block a user