diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 07:58:38 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 07:58:38 +0000 |
commit | 32deba86f31999d7b2fe968b3a16821a4a312f32 (patch) | |
tree | 6c8aad4b46702bcf4f26ba5336dd99e1e4c2f7aa /svx | |
parent | 94492b84c13afaf4f81382b434cb7b914fc0f615 (diff) |
INTEGRATION: CWS os9 (1.4.204); FILE MERGED
2003/04/25 11:30:16 os 1.4.204.1: #109136# EnableNotification() call corrected; call of SetModified() in RemoveData() added
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/options/srchcfg.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/svx/source/options/srchcfg.cxx b/svx/source/options/srchcfg.cxx index 8de3882ddc59..14bd6e393883 100644 --- a/svx/source/options/srchcfg.cxx +++ b/svx/source/options/srchcfg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: srchcfg.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dg $ $Date: 2001-09-27 09:06:14 $ + * last change: $Author: vg $ $Date: 2003-05-22 08:58:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -148,7 +148,11 @@ SvxSearchConfig::SvxSearchConfig(sal_Bool bEnableNotify) : pImpl(new SvxSearchConfig_Impl) { if(bEnableNotify) - EnableNotification(lcl_GetSearchPropertyNames_Impl()); + { + //request notifications from the node + Sequence<OUString> aEnable(1); + EnableNotification(aEnable); + } Load(); } /* -----------------------------16.01.01 15:36-------------------------------- @@ -320,6 +324,7 @@ void SvxSearchConfig::RemoveData(const rtl::OUString& rEngineName) if(pImpl->aEngineArr[nPos]->sEngineName == rEngineName) { pImpl->aEngineArr.DeleteAndDestroy(nPos, 1); + SetModified(); return ; } } |