summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-30 20:53:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 21:02:46 +0100
commit503f6b4878562fbd629742ee98d374c2b6f6979b (patch)
treee4024291b7bb39fcd9b383efcff4ea91a6ac824b /cui/source
parentddf6eac1b63123c937891adbe760e5dec8fcc73e (diff)
coverity#738609 Uninitialized pointer field
Change-Id: I63718d125c166b31a5980b34d4070e6fd8e89f50
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/transfrm.cxx28
1 files changed, 13 insertions, 15 deletions
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