From b4884b45fab389e8fa7d52a2487be82266167042 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 30 Apr 2014 20:47:16 +0100 Subject: coverity#738607 Uninitialized pointer field Change-Id: I333e7a6d06c47771ccd4a0bc937a833ae871a5c5 --- cui/source/tabpages/transfrm.cxx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'cui') diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index 291bea750c7f..24d0d0e06010 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -198,13 +198,11 @@ void SvxTransformTabDialog::SetValidateFramePosLink(const Link& rLink) |* angle and the rotation angle of the graphic objects |* \************************************************************************/ - -SvxAngleTabPage::SvxAngleTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : - SvxTabPage ( pParent - ,"Rotation" - ,"cui/ui/rotationtabpage.ui" - , rInAttrs ), - rOutAttrs ( rInAttrs ) +SvxAngleTabPage::SvxAngleTabPage(Window* pParent, const SfxItemSet& rInAttrs) + : SvxTabPage( pParent,"Rotation","cui/ui/rotationtabpage.ui", rInAttrs) + , rOutAttrs(rInAttrs) + , pView(NULL) + , eDlgUnit(FUNIT_NONE) { get(m_pFlPosition, "FL_POSITION"); get(m_pMtrPosX, "MTR_FLD_POS_X"); @@ -223,8 +221,6 @@ SvxAngleTabPage::SvxAngleTabPage( Window* pParent, const SfxItemSet& rInAttrs ) m_pCtlAngle->SetLinkedField( m_pNfAngle, 2 ); } - - void SvxAngleTabPage::Construct() { DBG_ASSERT(pView, "No valid view (!)"); -- cgit