From 37126a47290608f9af7debb69f35d26ac13fd265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 6 Feb 2014 13:20:57 +0000 Subject: [PATCH] coverity#1130477 Uninitialized pointer field Change-Id: I9f79064a90fda56194c70f545219310db7e4aed5 --- sw/source/ui/uiview/pview.cxx | 11 ++++++----- 1 file 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);