summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/crsrsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-29 09:42:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-29 10:12:49 +0100
commit626fe1669f7062e04db60ce7757d1c7d32842b3a (patch)
tree4e2174055ca2ba67c392010177bf8a401ba730a1 /sw/source/core/crsr/crsrsh.cxx
parentfc5cd8b5e916dcf97ada18ea7e8458bfd820f0b9 (diff)
redundant cast
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
Diffstat (limited to 'sw/source/core/crsr/crsrsh.cxx')
-rw-r--r--sw/source/core/crsr/crsrsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index ca9266dc14bd..2085aaad4bac 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -3101,7 +3101,7 @@ bool SwCrsrShell::SelectHiddenRange()
bool bRet = false;
if ( !GetViewOptions()->IsShowHiddenChar() && !m_pCurCrsr->HasMark() )
{
- SwPosition& rPt = *(SwPosition*)m_pCurCrsr->GetPoint();
+ SwPosition& rPt = *m_pCurCrsr->GetPoint();
const SwTxtNode* pNode = rPt.nNode.GetNode().GetTxtNode();
if ( pNode )
{