diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 13:01:21 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 13:01:21 +0000 |
commit | 1189558cc37f4e44a3dd63684c2ed8fb1dfb9e0e (patch) | |
tree | a70ea1f941bcbf42209fbb5d5854e4d0a00a0ce2 /configmgr/source/api | |
parent | b10af5e07bb6df42285f970d182008082f9f329d (diff) |
INTEGRATION: CWS configrefactor01 (1.9.24); FILE MERGED
2007/01/12 17:51:16 mmeeks 1.9.24.2: RIP 'memory::Accessor'
2007/01/12 11:48:30 mmeeks 1.9.24.1: Remove a load of unneeded Accessor fluff
Fix SimpleReferenceObject - it has to have 1 virtual method.
Diffstat (limited to 'configmgr/source/api')
-rw-r--r-- | configmgr/source/api/confevents.cxx | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/configmgr/source/api/confevents.cxx b/configmgr/source/api/confevents.cxx index 321975e603a9..2edee033e780 100644 --- a/configmgr/source/api/confevents.cxx +++ b/configmgr/source/api/confevents.cxx @@ -4,9 +4,9 @@ * * $RCSfile: confevents.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: obo $ $Date: 2006-09-16 14:53:04 $ + * last change: $Author: ihi $ $Date: 2007-11-23 14:01:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -63,7 +63,7 @@ namespace configmgr ConfigChangeBroadcastHelper(); ~ConfigChangeBroadcastHelper(); - void broadcast(memory::Accessor const& _aChangedDataAccessor, TreeChangeList const& anUpdate, sal_Bool bError, IConfigBroadcaster* pSource); + void broadcast(TreeChangeList const& anUpdate, sal_Bool bError, IConfigBroadcaster* pSource); public: // IConfigBroadcaster implementation helper @@ -118,20 +118,12 @@ namespace configmgr } } -/* void ConfigChangeBroadcaster::removeNode(OUString const& aPath, const vos::ORef < OOptions >& _xOptions, bool bRemovedFromModel) - { - if (ConfigChangeBroadcastHelper* pHelper = getBroadcastHelper(_xOptions,false)) - { - pHelper->removeNode(aPath, bRemovedFromModel, this); - } - } -*/ ///////////////////////////////////////////////////////////////////////// - void ConfigChangeBroadcaster::fireChanges(memory::Accessor const& _aChangedDataAccessor, TreeChangeList const& rList_, sal_Bool bError_) + void ConfigChangeBroadcaster::fireChanges(TreeChangeList const& rList_, sal_Bool bError_) { if (ConfigChangeBroadcastHelper* pHelper = getBroadcastHelper(rList_.getOptions(),false)) { - pHelper->broadcast(_aChangedDataAccessor, rList_, bError_, this); + pHelper->broadcast(rList_, bError_, this); } } @@ -167,9 +159,9 @@ namespace configmgr } */ ///////////////////////////////////////////////////////////////////////// - void ConfigChangeBroadcastHelper::broadcast(memory::Accessor const& _aChangedDataAccessor, TreeChangeList const& anUpdate, sal_Bool bError, IConfigBroadcaster* pSource) + void ConfigChangeBroadcastHelper::broadcast(TreeChangeList const& anUpdate, sal_Bool bError, IConfigBroadcaster* pSource) { - m_changes.dispatch(_aChangedDataAccessor, anUpdate, bError, pSource); + m_changes.dispatch(anUpdate, bError, pSource); } |