diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-10-11 14:05:42 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-11 17:23:59 +0100 |
commit | 8025a41b80d0de2c5fddc3d2d74d2ad34181afe5 (patch) | |
tree | cd018223c211e6b9be6691f376c4aa1c51ed581e /cui/source/inc/treeopt.hxx | |
parent | ab3895465a6cf0a8a41c7432ad9a8f77df7ae572 (diff) |
fix XColorList related crasher in tools->options, and try to clean more
Diffstat (limited to 'cui/source/inc/treeopt.hxx')
-rw-r--r-- | cui/source/inc/treeopt.hxx | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index a5b7fd312848..ac12fc2abbbb 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -172,6 +172,7 @@ namespace com { namespace sun { namespace star { namespace awt { class XContaine struct OptionsPageInfo; struct Module; class ExtensionsTabPage; +class SvxColorTabPage; typedef std::vector< ExtensionsTabPage* > VectorOfPages; class OfaTreeOptionsDialog : public SfxModalDialog @@ -201,15 +202,11 @@ private: // for the ColorTabPage SfxItemSet* pColorPageItemSet; - XColorListRef pColorList; - sal_uInt16 nChangeType; - sal_uInt16 nUnknownType; - sal_uInt16 nUnknownPos; - sal_Bool bIsAreaTP; - - sal_Bool bForgetSelection; - sal_Bool bExternBrowserActive; - sal_Bool bImageResized; + SvxColorTabPage *mpColorPage;; + + sal_Bool bForgetSelection; + sal_Bool bExternBrowserActive; + sal_Bool bImageResized; bool bInSelectHdl_Impl; bool bIsFromExtensionManager; @@ -272,9 +269,6 @@ public: void ActivatePage( const String& rPageURL ); void ApplyItemSets(); - sal_uInt16 GetColorChanged() const { return nChangeType; } - XColorListRef GetColorList() { return pColorList; } - // helper functions to call the language settings TabPage from the SpellDialog static void ApplyLanguageOptions(const SfxItemSet& rSet); }; |