diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 12:39:26 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 12:39:26 +0000 |
commit | e6fc85c09cb9fad1fb4aa9cfa3ca354efeab3454 (patch) | |
tree | 445d8df91fc38bd618f3846567587813b989e6d6 /configmgr/source | |
parent | 616fde093905298863baf2c59a88765a2853f747 (diff) |
INTEGRATION: CWS cfg01 (1.12.10.1.8); FILE MERGED
2003/03/12 16:54:58 jb 1.12.10.1.8.1: #108154# Use NodeAccessRef to avoid copying Accessor objects
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/treecache/invalidatetree.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/treecache/invalidatetree.cxx b/configmgr/source/treecache/invalidatetree.cxx index 1aad745ccb86..c42256ed2f0a 100644 --- a/configmgr/source/treecache/invalidatetree.cxx +++ b/configmgr/source/treecache/invalidatetree.cxx @@ -2,9 +2,9 @@ * * $RCSfile: invalidatetree.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: hr $ $Date: 2003-03-19 16:19:42 $ + * last change: $Author: vg $ $Date: 2003-04-01 13:39:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -116,7 +116,7 @@ namespace configmgr namespace backend { // ----------------------------------------------------------------------------- -std::auto_ptr<SubtreeChange> createDiffs(data::NodeAccess const& _aCachedNode, +std::auto_ptr<SubtreeChange> createDiffs(data::NodeAccessRef const& _aCachedNode, ISubtree const * _pLoadedSubtree, AbsolutePath const& _aAbsoluteSubtreePath) { @@ -250,7 +250,7 @@ CacheLocation CacheController::refreshComponent(ComponentRequest const & _aReque { data::TreeAccessor aTreeAccess(aChangingAccessor.accessor(),aCachedTreeAddress); - data::NodeAccess aRootNode = aTreeAccess.getRootNode(); + data::NodeAccessRef aRootNode = aTreeAccess.getRootNode(); aTreeChanges = createDiffs(aRootNode, aLoadedNodeInstance->data().get(), aLoadedNodeInstance->root().location()); aRootAddress = aRootNode.address(); |