diff options
author | Jörg Barfurth <jb@openoffice.org> | 2001-04-19 14:21:10 +0000 |
---|---|---|
committer | Jörg Barfurth <jb@openoffice.org> | 2001-04-19 14:21:10 +0000 |
commit | a67b27a7617a35035789f04b30a0fc507e480b76 (patch) | |
tree | 32dea59fad932ed43af828bdfcb24b2909db7766 /configmgr | |
parent | 39ec4227082e3e9cc0e57ba2a309d34b6558ab39 (diff) |
#86095# Revised handling of TemplateProvider: Can be fetched from the tree and node for use in a SetElementFactory
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/api2/apinodeupdate.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configmgr/source/api2/apinodeupdate.cxx b/configmgr/source/api2/apinodeupdate.cxx index 0a9c8d89e02c..ce4a25f8233d 100644 --- a/configmgr/source/api2/apinodeupdate.cxx +++ b/configmgr/source/api2/apinodeupdate.cxx @@ -2,9 +2,9 @@ * * $RCSfile: apinodeupdate.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jb $ $Date: 2000-11-13 17:54:50 $ + * last change: $Author: jb $ $Date: 2001-04-19 15:21:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -96,8 +96,9 @@ ISynchronizedData* NodeSetAccess::getDataLock() configuration::SetElementFactory NodeTreeSetAccess::getElementFactory() { - configuration::TemplateProvider aProvider = getApiTree().getProvider().getTemplateProvider(); - return configuration::SetElementFactory(aProvider); + using namespace configuration; + TemplateProvider aProvider = SetElementFactory::findTemplateProvider(getTree(),getNode()); + return SetElementFactory(aProvider); } //----------------------------------------------------------------------------- |