coverity#738852 Uninitialized scalar field

Change-Id: I03519a9ff6d3bde489e005ebc3affdce02eab8e4
This commit is contained in:
Caolán McNamara
2014-02-19 15:11:15 +00:00
parent 636d41d09a
commit 1ba089104b

View File

@@ -1990,11 +1990,12 @@ void SmViewShell::GetState(SfxItemSet &rSet)
}
SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *):
SfxViewShell(pFrame_, SFX_VIEW_HAS_PRINTOPTIONS | SFX_VIEW_CAN_PRINT),
pImpl( new SmViewShell_Impl ),
aGraphic(this),
aGraphicController(aGraphic, SID_GAPHIC_SM, pFrame_->GetBindings())
SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *)
: SfxViewShell(pFrame_, SFX_VIEW_HAS_PRINTOPTIONS | SFX_VIEW_CAN_PRINT)
, pImpl(new SmViewShell_Impl)
, aGraphic(this)
, aGraphicController(aGraphic, SID_GAPHIC_SM, pFrame_->GetBindings())
, bPasteState(false)
, bInsertIntoEditWindow(false)
{
SAL_INFO( "starmath", "SmViewShell::SmViewShell" );