diff options
Diffstat (limited to 'sw/source/core/unocore/unoobj.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index c66685d35f59..c1c91b365bf0 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -747,7 +747,7 @@ void SwXTextCursor::DeleteAndInsert(const OUString& rText, SwUnoCursorHelper::SelectPam(*pUnoCursor, true); pCurrent->Left(rText.getLength()); } - pCurrent = static_cast<SwCursor*>(pCurrent->GetNext()); + pCurrent = pCurrent->GetNext(); } while (pCurrent != pUnoCursor); pDoc->GetIDocumentUndoRedo().EndUndo(SwUndoId::INSERT, nullptr); } |