summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-02-06 09:58:51 +0100
committerDavid Tardon <dtardon@redhat.com>2013-02-07 05:56:07 +0100
commit72832c448f18381e53cc13dab56df66db21835bd (patch)
tree8e9aefde0fff80dabd925158e33f8eca5c8417c8 /cui/source/tabpages
parentb9f7241f522b913eaf885ee029746edf175c7a1c (diff)
add some missing member initializations
Change-Id: I36bab07a127f90f651f3db67831a37bbb78900ce
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/tparea.cxx14
-rw-r--r--cui/source/tabpages/tpbitmap.cxx8
-rw-r--r--cui/source/tabpages/tpcolor.cxx1
-rw-r--r--cui/source/tabpages/tpgradnt.cxx7
-rw-r--r--cui/source/tabpages/tphatch.cxx7
-rw-r--r--cui/source/tabpages/tpshadow.cxx4
6 files changed, 41 insertions, 0 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index eb319023b93c..9cf8c17a3889 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -240,6 +240,8 @@ void SvxTransparenceTabPage::SetControlState_Impl(XGradientStyle eXGS)
SvxTransparenceTabPage::SvxTransparenceTabPage(Window* pParent, const SfxItemSet& rInAttrs)
: SvxTabPage ( pParent, CUI_RES( RID_SVXPAGE_TRANSPARENCE ), rInAttrs),
rOutAttrs ( rInAttrs ),
+ eRP ( RP_LT ),
+
nPageType(0),
nDlgType(0),
@@ -644,12 +646,24 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) :
aCtlXRectPreview ( this, CUI_RES( CTL_COLOR_PREVIEW ) ),
rOutAttrs ( rInAttrs ),
+ eRP( RP_LT ),
pColorList( NULL ),
pGradientList( NULL ),
pHatchingList( 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() ),
aXFillAttr ( pXPool ),
rXFSet ( aXFillAttr.GetItemSet() )
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 713adee725ed..e4ae1453ff7e 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -79,6 +79,14 @@ SvxBitmapTabPage::SvxBitmapTabPage
aBitmapCtl ( this, aCtlPreview.GetSizePixel() ),
rOutAttrs ( rInAttrs ),
+ pnBitmapListState ( 0 ),
+ pnColorListState ( 0 ),
+ pPageType ( 0 ),
+ pDlgType ( 0 ),
+ pbAreaTP ( 0 ),
+
+ bBmpChanged ( false ),
+
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFStyleItem ( XFILL_BITMAP ),
aXBitmapItem ( String(), XOBitmap() ),
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 97b397fb132a..ac0c085f962d 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -306,6 +306,7 @@ SvxColorTabPage::SvxColorTabPage(Window* pParent, const SfxItemSet& rInAttrs)
, pShadow ( new SvxColorTabPageShadow() )
, rOutAttrs ( rInAttrs )
// All the horrific pointers we store and should not
+ , pnColorListState( 0 )
, pPageType( NULL )
, pDlgType( NULL )
, pPos( NULL )
diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx
index 8aa86a4c0e49..1967880b1c3f 100644
--- a/cui/source/tabpages/tpgradnt.cxx
+++ b/cui/source/tabpages/tpgradnt.cxx
@@ -78,6 +78,13 @@ SvxGradientTabPage::SvxGradientTabPage
rOutAttrs ( rInAttrs ),
+ pnGradientListState ( 0 ),
+ pnColorListState ( 0 ),
+ pPageType ( 0 ),
+ pDlgType ( 0 ),
+ pPos ( 0 ),
+ pbAreaTP ( 0 ),
+
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFStyleItem ( XFILL_GRADIENT ),
aXGradientItem ( String(), XGradient( COL_BLACK, COL_WHITE ) ),
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index ba211f301c18..5970907ad9c2 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -74,6 +74,13 @@ SvxHatchTabPage::SvxHatchTabPage
rOutAttrs ( rInAttrs ),
+ pnHatchingListState ( 0 ),
+ pnColorListState ( 0 ),
+ pPageType ( 0 ),
+ pDlgType ( 0 ),
+ pPos ( 0 ),
+ pbAreaTP ( 0 ),
+
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFStyleItem ( XFILL_HATCH ),
aXHatchItem ( String(), XHatch() ),
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx
index fa87c6ce3615..66faa424301f 100644
--- a/cui/source/tabpages/tpshadow.cxx
+++ b/cui/source/tabpages/tpshadow.cxx
@@ -63,6 +63,10 @@ SvxShadowTabPage::SvxShadowTabPage( Window* pParent, const SfxItemSet& rInAttrs
aMtrTransparent ( this, CUI_RES( MTR_SHADOW_TRANSPARENT ) ),
aCtlXRectPreview ( this, CUI_RES( CTL_COLOR_PREVIEW ) ),
rOutAttrs ( rInAttrs ),
+ eRP ( RP_LT ),
+ nPageType ( 0 ),
+ nDlgType ( 0 ),
+ pbAreaTP ( 0 ),
bDisable ( sal_False ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXFillAttr ( pXPool ),