summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:30:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:30:41 +0000
commit99308ce7cc97f30c92896870a478671ebb185437 (patch)
tree2b0efe2a809c1a9cad7ad89be2da7cda7b963091 /configmgr
parent45d86eb1ca4aacdefd2ced3c81d47880925179b1 (diff)
INTEGRATION: CWS warnings01 (1.8.76); FILE MERGED
2005/11/01 12:47:34 cd 1.8.76.3: #i53898# Warning free code for sun solaris compiler 2005/09/22 17:33:24 sb 1.8.76.2: RESYNC: (1.8-1.9); FILE MERGED 2005/09/06 12:27:44 cd 1.8.76.1: #i53898# Make code warning free
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/tree/updatehelper.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/configmgr/source/tree/updatehelper.cxx b/configmgr/source/tree/updatehelper.cxx
index f8abc7f77357..26fc5afa4694 100644
--- a/configmgr/source/tree/updatehelper.cxx
+++ b/configmgr/source/tree/updatehelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: updatehelper.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 04:21:05 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:30:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -643,6 +643,8 @@ void ApplyUpdate::handle(RemoveNode& _rChange)
protected:
SubtreeChange& m_rChangeList;
ISubtree const * m_pNewNode;
+
+ using NodeVisitor::handle;
public:
BackwardTreeDifferenceBuilder(SubtreeChange& rList, ISubtree const* pNode)
: m_rChangeList(rList)
@@ -671,8 +673,9 @@ void ApplyUpdate::handle(RemoveNode& _rChange)
}
private:
- virtual Result handle(data::ValueNodeAccess const & _aCacheNode)
+ virtual Result handle(data::ValueNodeAccess const & /*_aCacheNode*/)
{
+#if 0 // do we really need to do nothing here?
OUString aNodeName = _aCacheNode.getName().toString();
INode const* pNewChild = m_pNewNode->getChild(aNodeName);
@@ -680,6 +683,7 @@ void ApplyUpdate::handle(RemoveNode& _rChange)
//OSL_ENSURE(pNewChild, "BackwardTreeDifferenceBuilder: New (value) node is missing !");
// if (!pNewChild) return DONE; // error stop !
+#endif
return CONTINUE;
}