summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-24 13:01:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-24 13:01:26 +0000
commit191f3dc369c1d0ef28003bfd5fb49868178e6589 (patch)
tree4524a52b4edf7b3d870398aa79f36a99a5859405 /configmgr/source
parentdbee88ab175b95c35a981adce28f68083aa167ec (diff)
INTEGRATION: CWS uno3 (1.3.12); FILE MERGED
2003/04/17 13:49:40 jb 1.3.12.1: #108949# clear TreeSegment reference in strategy when disposeData() is called
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/treemgr/viewstrategy.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/configmgr/source/treemgr/viewstrategy.hxx b/configmgr/source/treemgr/viewstrategy.hxx
index bd8c90e72c3b..622a6ce13966 100644
--- a/configmgr/source/treemgr/viewstrategy.hxx
+++ b/configmgr/source/treemgr/viewstrategy.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewstrategy.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2003-04-17 13:33:51 $
+ * last change: $Author: vg $ $Date: 2003-04-24 14:01:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -223,6 +223,8 @@ namespace configmgr
// direct update access to data
public:
+ void releaseDataSegment();
+
memory::Segment const * getDataSegment() const;
memory::Segment * getDataSegmentForUpdate();
@@ -271,6 +273,8 @@ namespace configmgr
// virtual interface - these functions all have default implementations without support for pending changes
protected:
+ virtual void doReleaseDataSegment() = 0;
+
// special support for direct changes to underlying data - default is no support
virtual data::NodeAddress::DataType * implAccessForUpdate(data::NodeAccessRef const & _aDataAccess);
virtual memory::Segment const * doGetDataSegment() const = 0;
@@ -317,6 +321,9 @@ namespace configmgr
inline NodeFactory& ViewStrategy::getNodeFactory()
{ return doGetNodeFactory(); }
+ inline void ViewStrategy::releaseDataSegment()
+ { doReleaseDataSegment(); }
+
inline memory::Segment const * ViewStrategy::getDataSegment() const
{ return doGetDataSegment(); }