diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-05-10 13:35:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-05-10 18:01:09 +0200 |
commit | ffe239962f195781c6b086c5a284aad333e3e12e (patch) | |
tree | 3df7bc31587e3362aa1ace55dbc4aeb58df580f4 /sw/inc | |
parent | 60901e880b215d06ab3a7d79d2041bb2c6c64a78 (diff) |
sw: avoid assert in SwUndoDelete::RedoImpl
1. insert as-char fly in paragraph
2. hit DEL to delete it
3. Undo
4. Redo
Assertion `aTmp.GetPoint()->nNode != rPam.GetPoint()->nNode && aTmp.GetPoint()->nNode != rPam.GetMark()->nNode' failed
This was added in e06131e96629eee4e94eba1da7242380716e8e88 assuming that
this branch is only reachable with m_bDelFullPara, but it turns out that
you get no start/end text also because DelContentIndex() already
deleted everything.
Change-Id: If4ce55dd4b63d6db11ed3195f78cd595149c0c1b
Diffstat (limited to 'sw/inc')
0 files changed, 0 insertions, 0 deletions