coverity#1130477 Uninitialized pointer field

Change-Id: I9f79064a90fda56194c70f545219310db7e4aed5
This commit is contained in:
Caolán McNamara
2014-02-06 13:20:57 +00:00
parent b2801e5085
commit 37126a4729

View File

@@ -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);