summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuitabarea.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-10-11 14:05:42 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-11 17:23:59 +0100
commit8025a41b80d0de2c5fddc3d2d74d2ad34181afe5 (patch)
treecd018223c211e6b9be6691f376c4aa1c51ed581e /cui/source/inc/cuitabarea.hxx
parentab3895465a6cf0a8a41c7432ad9a8f77df7ae572 (diff)
fix XColorList related crasher in tools->options, and try to clean more
Diffstat (limited to 'cui/source/inc/cuitabarea.hxx')
-rw-r--r--cui/source/inc/cuitabarea.hxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 64801cadd047..1f76ce0ad609 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -672,12 +672,14 @@ public:
/************************************************************************/
+struct SvxColorTabPageShadow;
class SvxColorTabPage : public SfxTabPage, public SvxLoadSaveEmbed
{
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
private:
+ SvxColorTabPageShadow *pShadow;
FixedLine aFlProp;
FixedText aFtName;
Edit aEdtName;
@@ -751,7 +753,8 @@ private:
void UpdateModified();
public:
- SvxColorTabPage( Window* pParent, const SfxItemSet& rInAttrs );
+ SvxColorTabPage( Window* pParent, const SfxItemSet& rInAttrs );
+ ~SvxColorTabPage();
void Construct();
@@ -762,7 +765,13 @@ public:
virtual void ActivatePage( const SfxItemSet& rSet );
virtual int DeactivatePage( SfxItemSet* pSet );
- void SetColorList( XColorListRef pColTab ) { pColorList = pColTab; }
+ virtual XPropertyListRef GetPropertyList( XPropertyListType t );
+ virtual void SetPropertyList( XPropertyListType t, const XPropertyListRef &xRef );
+
+ void SetColorList( XColorListRef pColList );
+ XColorListRef GetColorList() { return pColorList; }
+ void SaveToViewFrame( SfxViewFrame *pViewFrame );
+ void SetupForViewFrame( SfxViewFrame *pViewFrame );
void SetPageType( sal_uInt16* pInType ) { pPageType = pInType; }
void SetDlgType( sal_uInt16* pInType ) { pDlgType = pInType; }