summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-19 15:11:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-19 15:31:59 +0000
commit1ba089104be0be09e82b91102fc4543d15e33b0d (patch)
tree76c88a77bdefb1b1b76bb74162f24122dd2932bd /starmath
parent636d41d09adf9cd903fd2f4008da9519367a61ae (diff)
coverity#738852 Uninitialized scalar field
Change-Id: I03519a9ff6d3bde489e005ebc3affdce02eab8e4
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx11
1 files 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" );