summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:33:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:33:24 +0000
commitb2c062adbdfcfded024922584605daad3121bde3 (patch)
treeb94a64810d520fd8bc86207aeba5f61327001be9 /configmgr/source
parent5b2b3c9e6dd8f2b737f77e27c896bf6e1a24779b (diff)
INTEGRATION: CWS warnings01 (1.22.4); FILE MERGED
2005/11/01 12:47:38 cd 1.22.4.1: #i53898# Warning free code for sun solaris compiler
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/treemgr/nodeimpl.cxx34
-rw-r--r--configmgr/source/treemgr/nodeimplobj.cxx6
2 files changed, 20 insertions, 20 deletions
diff --git a/configmgr/source/treemgr/nodeimpl.cxx b/configmgr/source/treemgr/nodeimpl.cxx
index c787077ccd1b..38bd77ea6c85 100644
--- a/configmgr/source/treemgr/nodeimpl.cxx
+++ b/configmgr/source/treemgr/nodeimpl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: nodeimpl.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 04:31:36 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:33:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -185,20 +185,20 @@ namespace
{
struct AbstractNodeCast : data::NodeVisitor
{
- virtual Result handle( data::ValueNodeAccess const& rNode)
- {
- throw Exception( "INTERNAL ERROR: Node is not a value node. Cast failing." );
- return CONTINUE;
- }
- virtual Result handle( data::GroupNodeAccess const& rNode)
- {
- throw Exception( "INTERNAL ERROR: Node is not a group node. Cast failing." );
- return CONTINUE;
- }
- virtual Result handle( data::SetNodeAccess const& rNode)
- {
- return CONTINUE;
- }
+ virtual Result handle( data::ValueNodeAccess const& /*rNode*/)
+ {
+ throw Exception( "INTERNAL ERROR: Node is not a value node. Cast failing." );
+ }
+ virtual Result handle( data::GroupNodeAccess const& /*rNode*/)
+ {
+ throw Exception( "INTERNAL ERROR: Node is not a group node. Cast failing." );
+ }
+ virtual Result handle( data::SetNodeAccess const& /*rNode*/)
+ {
+ return CONTINUE;
+ }
+ protected:
+ using NodeVisitor::handle;
};
template <class NodeType>
@@ -221,7 +221,7 @@ namespace
}
operator NodeType& () const { return get(); }
- private:
+ private:
virtual Result handle( DataNodeType& ) { return DONE; }
NodeType* m_pNode;
diff --git a/configmgr/source/treemgr/nodeimplobj.cxx b/configmgr/source/treemgr/nodeimplobj.cxx
index d11bb6704856..397d941f0299 100644
--- a/configmgr/source/treemgr/nodeimplobj.cxx
+++ b/configmgr/source/treemgr/nodeimplobj.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: nodeimplobj.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 04:32:04 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:33:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1096,7 +1096,7 @@ SetElementChangeImpl* DeferredSetNodeImpl::doAdjustToAddedElement(data::Accessor
}
//-----------------------------------------------------------------------------
-SetElementChangeImpl* DeferredSetNodeImpl::doAdjustToRemovedElement(data::Accessor const& _aAccessor, Name const& aName, RemoveNode const& aRemoveNodeChange)
+SetElementChangeImpl* DeferredSetNodeImpl::doAdjustToRemovedElement(data::Accessor const& _aAccessor, Name const& aName, RemoveNode const& /*aRemoveNodeChange*/)
{
m_bDefault = false;
if (Element* pLocalElement = m_aChangedData.getElement(aName))