diff options
author | Jörg Barfurth <jb@openoffice.org> | 2000-12-13 11:21:48 +0000 |
---|---|---|
committer | Jörg Barfurth <jb@openoffice.org> | 2000-12-13 11:21:48 +0000 |
commit | 1c4901082816feda01794c3edda07ee99e30c447 (patch) | |
tree | 5040e95e7e2f13de89d7364320b7070771fa3732 /configmgr | |
parent | 8bd7b13b35692384f9329981de03991578039eab (diff) |
#79526# Corrected depth handling (childDepth() and parentDepth() were switched)
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/treemgr/treeimpl.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/treemgr/treeimpl.hxx b/configmgr/source/treemgr/treeimpl.hxx index 2e66035b3ebc..84554def3888 100644 --- a/configmgr/source/treemgr/treeimpl.hxx +++ b/configmgr/source/treemgr/treeimpl.hxx @@ -2,9 +2,9 @@ * * $RCSfile: treeimpl.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: jb $ $Date: 2000-12-07 14:48:18 $ + * last change: $Author: jb $ $Date: 2000-12-13 12:21:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -116,7 +116,7 @@ namespace configmgr inline TreeDepth childDepth(TreeDepth nDepth) - { return incDepth(nDepth); } + { return decDepth(nDepth); } inline TreeDepth& decDepth(TreeDepth& rDepth) @@ -124,7 +124,7 @@ namespace configmgr inline TreeDepth parentDepth(TreeDepth nDepth) - { return decDepth(nDepth); } + { return incDepth(nDepth); } inline TreeDepth remainingDepth(TreeDepth nOuterDepth, TreeDepth nRelativeDepth) |