| commit | 019a9f623736df1e3b4b817828ee09b439acf09e | [log] |
|---|---|---|
| author | Noel Grandin <noelgrandin@gmail.com> | Sun Mar 13 19:15:20 2022 +0200 |
| committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | Wed Mar 23 13:46:44 2022 +0100 |
| tree | e72cbea679c608ab41bf74de4909d8c1d314f9f6 | |
| parent | 486347002a73d056c05bc69ae506180df5d1e870 [diff] |
tdf#147961 Crash Typing "++" and press Enter (AutoCorrect Create Table) regression from commit 7cd5b35caa8d4fa9d0ba2b2c6ce4b88726ed2be6 Author: Noel Grandin <noelgrandin@gmail.com> Date: Fri Sep 24 13:21:35 2021 +0200 return SwCursor from IShellCursorSupplier Change-Id: I6a4e3f90653dc96a91091be1372f27c6303ba346 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131505 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 7c7f00a89a675dad541d32ea60695a7b11210102) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131470 (cherry picked from commit bcd3275a8c2088308970e012cf39c4753f5e582a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131471 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index 6df314a..5b41af3 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx
@@ -2374,7 +2374,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFormatFlags const & { //JP 30.09.96: DoTable() builds on PopCursor and MoveCursor after AutoFormat! pEdShell->Pop(SwCursorShell::PopMode::DeleteCurrent); *pEdShell->GetCursor() = static_cast<SwCursor&>(m_aDelPam); static_cast<SwPaM&>(*pEdShell->GetCursor()) = m_aDelPam; pEdShell->Push(); eStat = IS_END;