Kaydet (Commit) 72832c44 authored tarafından David Tardon's avatar David Tardon

add some missing member initializations

Change-Id: I36bab07a127f90f651f3db67831a37bbb78900ce
üst b9f7241f
...@@ -240,6 +240,8 @@ void SvxTransparenceTabPage::SetControlState_Impl(XGradientStyle eXGS) ...@@ -240,6 +240,8 @@ void SvxTransparenceTabPage::SetControlState_Impl(XGradientStyle eXGS)
SvxTransparenceTabPage::SvxTransparenceTabPage(Window* pParent, const SfxItemSet& rInAttrs) SvxTransparenceTabPage::SvxTransparenceTabPage(Window* pParent, const SfxItemSet& rInAttrs)
: SvxTabPage ( pParent, CUI_RES( RID_SVXPAGE_TRANSPARENCE ), rInAttrs), : SvxTabPage ( pParent, CUI_RES( RID_SVXPAGE_TRANSPARENCE ), rInAttrs),
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
eRP ( RP_LT ),
nPageType(0), nPageType(0),
nDlgType(0), nDlgType(0),
...@@ -644,12 +646,24 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) : ...@@ -644,12 +646,24 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) :
aCtlXRectPreview ( this, CUI_RES( CTL_COLOR_PREVIEW ) ), aCtlXRectPreview ( this, CUI_RES( CTL_COLOR_PREVIEW ) ),
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
eRP( RP_LT ),
pColorList( NULL ), pColorList( NULL ),
pGradientList( NULL ), pGradientList( NULL ),
pHatchingList( NULL ), pHatchingList( NULL ),
pBitmapList( NULL ), pBitmapList( NULL ),
pnColorListState( 0 ),
pnBitmapListState( 0 ),
pnGradientListState( 0 ),
pnHatchingListState( 0 ),
nPageType( 0 ),
nDlgType( 0 ),
nPos( LISTBOX_ENTRY_NOTFOUND ),
pbAreaTP( 0 ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ), pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFillAttr ( pXPool ), aXFillAttr ( pXPool ),
rXFSet ( aXFillAttr.GetItemSet() ) rXFSet ( aXFillAttr.GetItemSet() )
......
...@@ -79,6 +79,14 @@ SvxBitmapTabPage::SvxBitmapTabPage ...@@ -79,6 +79,14 @@ SvxBitmapTabPage::SvxBitmapTabPage
aBitmapCtl ( this, aCtlPreview.GetSizePixel() ), aBitmapCtl ( this, aCtlPreview.GetSizePixel() ),
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
pnBitmapListState ( 0 ),
pnColorListState ( 0 ),
pPageType ( 0 ),
pDlgType ( 0 ),
pbAreaTP ( 0 ),
bBmpChanged ( false ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ), pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFStyleItem ( XFILL_BITMAP ), aXFStyleItem ( XFILL_BITMAP ),
aXBitmapItem ( String(), XOBitmap() ), aXBitmapItem ( String(), XOBitmap() ),
......
...@@ -306,6 +306,7 @@ SvxColorTabPage::SvxColorTabPage(Window* pParent, const SfxItemSet& rInAttrs) ...@@ -306,6 +306,7 @@ SvxColorTabPage::SvxColorTabPage(Window* pParent, const SfxItemSet& rInAttrs)
, pShadow ( new SvxColorTabPageShadow() ) , pShadow ( new SvxColorTabPageShadow() )
, rOutAttrs ( rInAttrs ) , rOutAttrs ( rInAttrs )
// All the horrific pointers we store and should not // All the horrific pointers we store and should not
, pnColorListState( 0 )
, pPageType( NULL ) , pPageType( NULL )
, pDlgType( NULL ) , pDlgType( NULL )
, pPos( NULL ) , pPos( NULL )
......
...@@ -78,6 +78,13 @@ SvxGradientTabPage::SvxGradientTabPage ...@@ -78,6 +78,13 @@ SvxGradientTabPage::SvxGradientTabPage
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
pnGradientListState ( 0 ),
pnColorListState ( 0 ),
pPageType ( 0 ),
pDlgType ( 0 ),
pPos ( 0 ),
pbAreaTP ( 0 ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ), pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFStyleItem ( XFILL_GRADIENT ), aXFStyleItem ( XFILL_GRADIENT ),
aXGradientItem ( String(), XGradient( COL_BLACK, COL_WHITE ) ), aXGradientItem ( String(), XGradient( COL_BLACK, COL_WHITE ) ),
......
...@@ -74,6 +74,13 @@ SvxHatchTabPage::SvxHatchTabPage ...@@ -74,6 +74,13 @@ SvxHatchTabPage::SvxHatchTabPage
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
pnHatchingListState ( 0 ),
pnColorListState ( 0 ),
pPageType ( 0 ),
pDlgType ( 0 ),
pPos ( 0 ),
pbAreaTP ( 0 ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ), pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFStyleItem ( XFILL_HATCH ), aXFStyleItem ( XFILL_HATCH ),
aXHatchItem ( String(), XHatch() ), aXHatchItem ( String(), XHatch() ),
......
...@@ -63,6 +63,10 @@ SvxShadowTabPage::SvxShadowTabPage( Window* pParent, const SfxItemSet& rInAttrs ...@@ -63,6 +63,10 @@ SvxShadowTabPage::SvxShadowTabPage( Window* pParent, const SfxItemSet& rInAttrs
aMtrTransparent ( this, CUI_RES( MTR_SHADOW_TRANSPARENT ) ), aMtrTransparent ( this, CUI_RES( MTR_SHADOW_TRANSPARENT ) ),
aCtlXRectPreview ( this, CUI_RES( CTL_COLOR_PREVIEW ) ), aCtlXRectPreview ( this, CUI_RES( CTL_COLOR_PREVIEW ) ),
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
eRP ( RP_LT ),
nPageType ( 0 ),
nDlgType ( 0 ),
pbAreaTP ( 0 ),
bDisable ( sal_False ), bDisable ( sal_False ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ), pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFillAttr ( pXPool ), aXFillAttr ( pXPool ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment