From 503f6b4878562fbd629742ee98d374c2b6f6979b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 30 Apr 2014 20:53:58 +0100 Subject: coverity#738609 Uninitialized pointer field Change-Id: I63718d125c166b31a5980b34d4070e6fd8e89f50 --- cui/source/tabpages/transfrm.cxx | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'cui') diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index ee299bcf032d..eef82e80323c 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -613,19 +613,19 @@ void SvxSlantTabPage::PointChanged( Window* , RECT_POINT ) |* Dialog for changing position and size of graphic objects |* \************************************************************************/ - -SvxPositionSizeTabPage::SvxPositionSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : - SvxTabPage ( pParent - ,"PositionAndSize" - ,"cui/ui/possizetabpage.ui" - , rInAttrs ), - - mrOutAttrs ( rInAttrs ), - mnProtectSizeState( TRISTATE_FALSE ), - mbPageDisabled ( false ), - mbProtectDisabled( false ), - mbSizeDisabled( false ), - mbAdjustDisabled( true ) +SvxPositionSizeTabPage::SvxPositionSizeTabPage(Window* pParent, const SfxItemSet& rInAttrs) + : SvxTabPage(pParent,"PositionAndSize","cui/ui/possizetabpage.ui", rInAttrs) + , mrOutAttrs(rInAttrs) + , mpView(NULL) + , meDlgUnit(FUNIT_NONE) + , meMapUnit(MAP_100TH_MM) + , mnProtectSizeState(TRISTATE_FALSE) + , mbPageDisabled(false) + , mbProtectDisabled(false) + , mbSizeDisabled(false) + , mbAdjustDisabled(true) + , mfOldWidth(0.0) + , mfOldHeight(0.0) { get(m_pFlPosition, "FL_POSITION"); @@ -675,8 +675,6 @@ SvxPositionSizeTabPage::SvxPositionSizeTabPage( Window* pParent, const SfxItemSe } - - void SvxPositionSizeTabPage::Construct() { // get range and work area -- cgit