diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-06-11 07:59:27 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-06-11 07:59:27 +0000 |
commit | c64b5e180fd0aec7f85a2ace23c48e7632f13b0b (patch) | |
tree | f66cb2f21f09ef50f3d165e2c3311d9e788f5f22 /svx | |
parent | 621d4b3f826eda4ec3b8ce9c82310958e3192c96 (diff) |
#87722#: no SfxConfigItems
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmsrccfg.cxx | 18 | ||||
-rw-r--r-- | svx/source/inc/fmsrccfg.hxx | 10 |
2 files changed, 16 insertions, 12 deletions
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx index 24ad72eb773f..841e493b5595 100644 --- a/svx/source/form/fmsrccfg.cxx +++ b/svx/source/form/fmsrccfg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmsrccfg.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2001-04-18 07:44:08 $ + * last change: $Author: mba $ $Date: 2001-06-11 08:59:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -131,8 +131,9 @@ BOOL FmSearchParams::operator ==(const FmSearchParams& rComp) const #define FM_SEARCH_CONFIG_VERSION_SO60 4 // ab der SRC629 //------------------------------------------------------------------------ -FmSearchConfigItem::FmSearchConfigItem() : SfxConfigItem(SFX_ITEMTYPE_SVXSEARCHPARAMS) +FmSearchConfigItem::FmSearchConfigItem() { + UseDefault(); } //------------------------------------------------------------------------ @@ -169,6 +170,7 @@ INT32 FmSearchConfigItem::CalcCheckSum(const FmSearchParams& aParams, short nFor return nReturn; } +/* //------------------------------------------------------------------------ int FmSearchConfigItem::Load(SvStream& rStore) { @@ -316,6 +318,7 @@ BOOL FmSearchConfigItem::Store(SvStream& rStore) return TRUE; } +*/ //------------------------------------------------------------------------ void FmSearchConfigItem::UseDefault() @@ -344,7 +347,7 @@ void FmSearchConfigItem::UseDefault() | TransliterationModules_ignoreSeparator_ja_JP | TransliterationModules_IGNORE_CASE; - SetDefault(TRUE); +// SetDefault(TRUE); } // =================================================================================================== @@ -381,7 +384,7 @@ FmSearchConfigAdmin::~FmSearchConfigAdmin() { if (s_pItem) { - s_pItem->StoreConfig(TRUE); +// s_pItem->StoreConfig(TRUE); delete s_pItem; s_pItem = NULL; } @@ -397,7 +400,8 @@ FmSearchConfigItem* FmSearchConfigAdmin::GetItem() const return s_pItem; s_pItem = new FmSearchConfigItem; - s_pItem->Initialize(); +// s_pItem->Initialize(); + s_pItem->UseDefault(); return s_pItem; } @@ -407,7 +411,7 @@ void FmSearchConfigAdmin::PutParams(const FmSearchParams& rParams) if (GetParams() != rParams) { GetItem()->m_aParams = rParams; - GetItem()->SetDefault(FALSE); // damit wird das Ding implizit auch modified gesetzt +// GetItem()->SetDefault(FALSE); // damit wird das Ding implizit auch modified gesetzt } } diff --git a/svx/source/inc/fmsrccfg.hxx b/svx/source/inc/fmsrccfg.hxx index 69bc0f6bde48..e5064006ed82 100644 --- a/svx/source/inc/fmsrccfg.hxx +++ b/svx/source/inc/fmsrccfg.hxx @@ -2,9 +2,9 @@ * * $RCSfile: fmsrccfg.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2001-04-18 07:43:06 $ + * last change: $Author: mba $ $Date: 2001-06-11 08:59:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -124,7 +124,7 @@ public: // = class FmSearchConfigItem - ein ConfigItem, dass sich Suchparameter merkt // =================================================================================================== -class FmSearchConfigItem : public SfxConfigItem +class FmSearchConfigItem { friend class FmSearchConfigAdmin; @@ -135,8 +135,8 @@ private: FmSearchConfigItem(); public: - virtual int Load(SvStream&); - virtual BOOL Store(SvStream&); +// virtual int Load(SvStream&); +// virtual BOOL Store(SvStream&); virtual void UseDefault(); protected: |