summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-23 13:36:15 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-23 13:36:15 +0000
commit963ac49b3b8f18b3684fcbf994f082098d7ab4a9 (patch)
tree44865a7e60b2a9569fc63350868c7af7aec8ac51 /configmgr/source
parent59fbda5214161d957cce92060955967018857cd7 (diff)
INTEGRATION: CWS configrefactor01 (1.8.24); FILE MERGED
2007/02/21 12:49:03 cmc 1.8.24.2: remove empty file 2007/01/08 20:49:02 mmeeks 1.8.24.1: Issue number: Submitted by: mmeeks Substantial configmgr re-factoring #1 ... + remove endless typedef chains + remove custom allocator & associated complexity + remove Pointer, and 'Address' classes
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/treecache/cachefactory.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/configmgr/source/treecache/cachefactory.cxx b/configmgr/source/treecache/cachefactory.cxx
index 80cab7fe592f..b995551324fe 100644
--- a/configmgr/source/treecache/cachefactory.cxx
+++ b/configmgr/source/treecache/cachefactory.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cachefactory.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 15:25:24 $
+ * last change: $Author: ihi $ $Date: 2007-11-23 14:36:15 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -44,9 +44,6 @@
#ifndef CONFIGMGR_BACKEND_CACHECONTROLLER_HXX
#include "cachecontroller.hxx"
#endif
-#ifndef CONFIGMGR_HEAPFACTORY_HXX
-#include "heapfactory.hxx"
-#endif
#ifndef CONFIGMGR_BACKENDFACTORY_HXX_
#include "backendfactory.hxx"
#endif
@@ -66,12 +63,10 @@ namespace configmgr
if (_xBackend.is())
{
- memory::HeapManager & rHeap = memory::cacheHeap();
-
rtl::Reference< backend::ICachedDataProvider > xLoader
- = new backend::CacheController(_xBackend.get(),rHeap, _xContext);
+ = new backend::CacheController(_xBackend.get(), _xContext);
- xCache.set( new TreeManager(xLoader.get(),rHeap) );
+ xCache.set( new TreeManager(xLoader.get()) );
}
return xCache;