summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-30 14:01:16 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-30 14:01:16 +0000
commitfe5fa659377bafdd63f799436497a645f5aa4efb (patch)
treeeadf0bb3a94c41599c25b790a80fb9df93fbba16 /configmgr
parentd6cc136c69bb02a92bd7dcaff44127bebcdbd971 (diff)
INTEGRATION: CWS cfg04 (1.5.62); FILE MERGED
2003/12/01 11:20:41 ssmith 1.5.62.1: merge from apoco2
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/tree/updatehelper.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/configmgr/source/tree/updatehelper.cxx b/configmgr/source/tree/updatehelper.cxx
index da6e3252651f..9261b6fd4f27 100644
--- a/configmgr/source/tree/updatehelper.cxx
+++ b/configmgr/source/tree/updatehelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: updatehelper.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: kz $ $Date: 2004-03-23 10:29:58 $
+ * last change: $Author: rt $ $Date: 2004-03-30 15:01:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -266,7 +266,11 @@ public:
SubtreeChange aActualChanges(_anUpdateTree, SubtreeChange::NoChildCopy());
if ( adjust_helper(aActualChanges,_anUpdateTree, _anUpdateAccess, _aRootNode) )
+ {
applyUpdateToTree(aActualChanges, _anUpdateAccess, _aRootNode);
+ }
+ _anUpdateTree.swap(aActualChanges);
+
}
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
@@ -619,8 +623,6 @@ void ApplyUpdate::handle(RemoveNode& _rChange)
{
data::NodeAccess aChildNode = data::getSubnode(m_aCacheNode,getNodeName(_aNewNode));
- OSL_ENSURE(aChildNode.isValid(), "TreeDifferenceBuilder: could not find expected node !");
-
if (aChildNode.isValid())
{
OSL_ENSURE( data::GroupNodeAccess::isInstance(aChildNode) ||