summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-30 20:47:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 21:02:45 +0100
commitb4884b45fab389e8fa7d52a2487be82266167042 (patch)
tree6d0bb689fcd7dd085707f2663b6a9b43c109ca16 /cui
parent61fb42950d0b04d3f576bc2aacf72771dba722db (diff)
coverity#738607 Uninitialized pointer field
Change-Id: I333e7a6d06c47771ccd4a0bc937a833ae871a5c5
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/transfrm.cxx14
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 (!)");