From 1ba089104be0be09e82b91102fc4543d15e33b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 19 Feb 2014 15:11:15 +0000 Subject: [PATCH] coverity#738852 Uninitialized scalar field Change-Id: I03519a9ff6d3bde489e005ebc3affdce02eab8e4 --- starmath/source/view.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 7b5e042d8810..b2cb21b6b6ef 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -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" );