coverity#1130477 Uninitialized pointer field
Change-Id: I9f79064a90fda56194c70f545219310db7e4aed5
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user