diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 13:20:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 15:11:55 +0000 |
commit | 37126a47290608f9af7debb69f35d26ac13fd265 (patch) | |
tree | 19abe30040db26067d0489ea0272a563aac4e963 /sw | |
parent | coverity#1103770 Uninitialized pointer field (diff) | |
download | core-37126a47290608f9af7debb69f35d26ac13fd265.tar.gz core-37126a47290608f9af7debb69f35d26ac13fd265.zip |
coverity#1130477 Uninitialized pointer field
Change-Id: I9f79064a90fda56194c70f545219310db7e4aed5
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uiview/pview.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx index b969162ce8a6..fc8ee686d773 100644 --- a/sw/source/ui/uiview/pview.cxx +++ b/sw/source/ui/uiview/pview.cxx @@ -166,11 +166,12 @@ void SwPreviewZoomDlg::Apply() // all for SwPagePreviewWin SwPagePreviewWin::SwPagePreviewWin( Window *pParent, SwPagePreview& rPView ) - : Window( pParent, WinBits( WB_CLIPCHILDREN) ), - mpViewShell( 0 ), - mrView( rPView ), - mbCalcScaleForPreviewLayout( true ), - maPaintedPreviewDocRect( Rectangle(0,0,0,0) ) + : Window(pParent, WinBits(WB_CLIPCHILDREN)) + , mpViewShell(0) + , mrView(rPView) + , mbCalcScaleForPreviewLayout(true) + , maPaintedPreviewDocRect(Rectangle(0,0,0,0)) + , mpPgPreviewLayout(NULL) { SetOutDevViewType( OUTDEV_VIEWTYPE_PRINTPREVIEW ); SetHelpId(HID_PAGEPREVIEW); |