summaryrefslogtreecommitdiff
path: root/sw/inc/node.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-25 06:46:49 +0200
committerNoel Grandin <noel@peralex.com>2014-11-25 08:43:18 +0200
commit7ca3303aaadd20dcc1d6e08bdeba38021cbec4bb (patch)
tree3a60619f0a451bf8465f7ef3f3bd99443aa40439 /sw/inc/node.hxx
parent643283d4b3b8581fa5aa9b47cda90583b4aed3e7 (diff)
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r--sw/inc/node.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index a8c7f295e312..4cf51e29146b 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -665,15 +665,15 @@ inline bool SwNode::IsGrfNode() const
inline const SwStartNode* SwNode::FindSttNodeByType( SwStartNodeType eTyp ) const
{
- return ((SwNode*)this)->FindSttNodeByType( eTyp );
+ return const_cast<SwNode*>(this)->FindSttNodeByType( eTyp );
}
inline const SwTableNode* SwNode::FindTableNode() const
{
- return ((SwNode*)this)->FindTableNode();
+ return const_cast<SwNode*>(this)->FindTableNode();
}
inline const SwSectionNode* SwNode::FindSectionNode() const
{
- return ((SwNode*)this)->FindSectionNode();
+ return const_cast<SwNode*>(this)->FindSectionNode();
}
inline sal_uLong SwNode::StartOfSectionIndex() const
{