diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 20:47:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 21:02:45 +0100 |
commit | b4884b45fab389e8fa7d52a2487be82266167042 (patch) | |
tree | 6d0bb689fcd7dd085707f2663b6a9b43c109ca16 /cui | |
parent | 61fb42950d0b04d3f576bc2aacf72771dba722db (diff) |
coverity#738607 Uninitialized pointer field
Change-Id: I333e7a6d06c47771ccd4a0bc937a833ae871a5c5
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
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 (!)"); |