summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index df4cf18118c7..663395e6c63d 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5394,15 +5394,15 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
case COMMAND_PREPARERECONVERSION:
if( rSh.HasSelection() )
{
- SwPaM *pCrsr = (SwPaM*)rSh.GetCrsr();
+ SwPaM *pCrsr = rSh.GetCrsr();
if( rSh.IsMultiSelection() )
{
- if( pCrsr && !pCrsr->HasMark() &&
- pCrsr->GetPoint() == pCrsr->GetMark() )
+ if (pCrsr && !pCrsr->HasMark() &&
+ pCrsr->GetPoint() == pCrsr->GetMark())
{
- rSh.GoPrevCrsr();
- pCrsr = (SwPaM*)rSh.GetCrsr();
+ rSh.GoPrevCrsr();
+ pCrsr = rSh.GetCrsr();
}
// Cancel all selections other than the last selected one.