summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/pam.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:13 +0200
commit80c2dfa225a3e082b0a7fdab95cfed3eef17d0c1 (patch)
tree4f09be4300e0c2a580516b62e8038244770e58d7 /sw/source/core/crsr/pam.cxx
parent9672e6c81e1ded79ff964d0a0d667e4e172c4475 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I0e42e757a6f7b0c28758193aad8b3cb01607b8b1
Diffstat (limited to 'sw/source/core/crsr/pam.cxx')
-rw-r--r--sw/source/core/crsr/pam.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index d09e1f3a90ad..95794338782f 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -806,7 +806,7 @@ SwCntntNode* GetNode( SwPaM & rPam, bool& rbFirst, SwMoveFn fnMove,
pNd = 0;
continue;
}
- *(SwPosition*)rPam.GetPoint() = aPos;
+ *rPam.GetPoint() = aPos;
}
else
pNd = 0; // no valid node
@@ -874,7 +874,7 @@ bool GoInDoc( SwPaM & rPam, SwMoveFn fnMove )
bool GoInSection( SwPaM & rPam, SwMoveFn fnMove )
{
- (*fnMove->fnSections)( (SwPosition*)rPam.GetPoint() );
+ (*fnMove->fnSections)( rPam.GetPoint() );
return true;
}