diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-16 13:01:54 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-16 13:01:54 +0000 |
commit | 8e655985bdeb11c4c5b2183b40fb1c20ee4d438a (patch) | |
tree | b9f2ff26b817c484d3711a90710d95d55abb2754 /configmgr | |
parent | 81133217aec08d20199c440ed20a8c35df6149a0 (diff) |
INTEGRATION: CWS sb88 (1.23.10); FILE MERGED
2008/06/03 15:29:52 sb 1.23.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/tree/cmtreemodel.cxx | 10 | ||||
-rw-r--r-- | configmgr/source/tree/treeactions.cxx | 21 |
2 files changed, 2 insertions, 29 deletions
diff --git a/configmgr/source/tree/cmtreemodel.cxx b/configmgr/source/tree/cmtreemodel.cxx index 3729f2a21b..e03ef22f8b 100644 --- a/configmgr/source/tree/cmtreemodel.cxx +++ b/configmgr/source/tree/cmtreemodel.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cmtreemodel.cxx,v $ - * $Revision: 1.23 $ + * $Revision: 1.24 $ * * This file is part of OpenOffice.org. * @@ -68,14 +68,6 @@ bool isLocalizedValueSet(SubtreeChange const& _aSubtree) // ----------------------------------------------------------------------------- -bool isValueSet(ISubtree const& _aSubtree) -{ - if ( !_aSubtree.isSetNode()) return false; - if ( !_aSubtree.getElementTemplateModule().equals(TEMPLATE_MODULE_NATIVE_VALUE) ) return false; - return true; -} -// ----------------------------------------------------------------------------- - bool isValueSet(SubtreeChange const& _aSubtree) { if ( !_aSubtree.isSetNodeChange()) return false; diff --git a/configmgr/source/tree/treeactions.cxx b/configmgr/source/tree/treeactions.cxx index 2443948253..4b782df956 100644 --- a/configmgr/source/tree/treeactions.cxx +++ b/configmgr/source/tree/treeactions.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: treeactions.cxx,v $ - * $Revision: 1.23 $ + * $Revision: 1.24 $ * * This file is part of OpenOffice.org. * @@ -40,25 +40,6 @@ //.......................................................................... namespace configmgr { -// ------------------------------------------------------------------------- -namespace -{ - struct ForceWritable : NodeModification - { - void handle(ValueNode& _rValue) { implForceWritable(_rValue); } - void handle(ISubtree& _rSubtree) { implForceWritable(_rSubtree); applyToChildren(_rSubtree); } - - void implForceWritable(INode& _rNode) { _rNode.forceReadonlyToFinalized(); } - }; -} - -// ------------------------------------------------------------------------- -void forceWritable(INode& _rNode) -{ - ForceWritable aVisitor; - - aVisitor.applyToNode(_rNode); -} //========================================================================== //= OChangeActionCounter |