summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:29:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:29:00 +0200
commit3f846cb7a40ea6226c68ff22981d6090da66e6aa (patch)
treec5aef00f363a401f6929cc82a760e5fb9df35edb /xmlsecurity/source/framework
parent0fded753c787c9e0e374bf65fe5c53538adda206 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I7128d99926bddf5ffd0a87099c7fa3ce3a1e08e0
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r--xmlsecurity/source/framework/buffernode.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/framework/buffernode.cxx b/xmlsecurity/source/framework/buffernode.cxx
index cbe27e70b06d..13bec5376c57 100644
--- a/xmlsecurity/source/framework/buffernode.cxx
+++ b/xmlsecurity/source/framework/buffernode.cxx
@@ -367,7 +367,7 @@ const BufferNode* BufferNode::getFirstChild() const
rc = const_cast<BufferNode*>(m_vChildren.front());
}
- return (const BufferNode*)rc;
+ return rc;
}
void BufferNode::addChild(const BufferNode* pChild, sal_Int32 nPosition)
@@ -557,7 +557,7 @@ const BufferNode* BufferNode::getNextSibling() const
rc = const_cast<BufferNode*>(m_pParent->getNextChild(this));
}
- return (const BufferNode*)rc;
+ return rc;
}
const BufferNode* BufferNode::isAncestor(const BufferNode* pDescendant) const
@@ -609,7 +609,7 @@ const BufferNode* BufferNode::isAncestor(const BufferNode* pDescendant) const
}
}
- return (const BufferNode*)rc;
+ return rc;
}
bool BufferNode::isPrevious(const BufferNode* pFollowing) const
@@ -1065,7 +1065,7 @@ const BufferNode* BufferNode::getNextChild(const BufferNode* pChild) const
}
}
- return (const BufferNode*)rc;
+ return rc;
}