path: root/sfx2/source/view/viewsh.cxx
diff options
authorMichael Stahl <>2023-09-19 21:18:52 +0200
committerMichael Stahl <>2023-09-20 10:03:10 +0200
commit68310c73c1755d2e8a4d6f80084ef3d6b7a1d10e (patch)
tree8fa7170068068182385bb585045b0ff7f27a16a1 /sfx2/source/view/viewsh.cxx
parent4fff1101da5d953c76da6f0f247e24935fb28ca6 (diff)
tdf#157129 sw: fix wrong cursor position after pastedistro/cib/libreoffice-6-4
This asserts in SwUndoInserts::UndoImpl(): index.cxx:234: virtual SwContentIndexReg::~SwContentIndexReg(): Assertion `!m_pFirst && !m_pLast && "There are still indices registered"' failed. Because there is a bookmark still registered, because the content was inserted wrongly into a fly frame that contains a SwGrfNode, because earlier the cursor was in a hidden text node and SwCursorShell::UpdateCursorPos() moved it into an as-char anchored image. UpdateCursorPos() should put the cursor only onto a text node. (somehow regression from commit bb733957dd39e6f0b9d80bb59eb0177188794797) Change-Id: If00d1e09a612849a44bb3e2d3bd7bac6fa9ac05f Reviewed-on: Tested-by: Jenkins Reviewed-by: Michael Stahl <> (cherry picked from commit b20ca8d951e8205c8b963c6b7407f984053b4094)
Diffstat (limited to 'sfx2/source/view/viewsh.cxx')
0 files changed, 0 insertions, 0 deletions