summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/pam.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:47 +0200
commitb2c8ea3a0253ce87f1b292fbb19b461a53c14912 (patch)
tree853cc34d4ced72c029f9b5bc4b3077d8b1944412 /sw/source/core/crsr/pam.cxx
parentbc2becdf1a12a1020584ee808c965e41f1837383 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8d27ae80d209159690182ab91e272cf00e9f863d
Diffstat (limited to 'sw/source/core/crsr/pam.cxx')
-rw-r--r--sw/source/core/crsr/pam.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index a1cbabf2f112..b75c504ed436 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -1089,7 +1089,7 @@ void SwPaM::InvalidatePaM()
// pretend that the PaM marks inserted text to recalc the portion...
SwInsText aHint( Start()->nContent.GetIndex(),
End()->nContent.GetIndex() - Start()->nContent.GetIndex() + 1 );
- SwModify *_pModify=(SwModify*)_pTextNd;
+ SwModify *_pModify=const_cast<SwModify*>(static_cast<SwModify const *>(_pTextNd));
_pModify->ModifyNotification( 0, &aHint);
}
}