diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-02-23 16:07:18 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-02-23 16:42:39 +0100 |
commit | f1bd815f60c78495259ae19ea68eacdb8b43a9e8 (patch) | |
tree | 9eb9d34969d93068ac0d724f66717d12ec4e11a5 /sal/osl/unx | |
parent | 10e733908038407791f9c14af2a86417cc4a653c (diff) |
sw: fix cursor backup in SwXText::insertTextPortion()
If the inserted string contains "\r", such as when importing
lp556169-2.rtf before the previous fix, the given cursor has one of its
positions mangled because its nNode will be on the new node, but the
nContent that is restored here is on the old node.
The invalid cursor causes an assert in the subsequent SetPropertyValues.
Change-Id: I73a2e6ecd02ccf75f7b9ffd89d90ae1e3a93ceb2
Diffstat (limited to 'sal/osl/unx')
0 files changed, 0 insertions, 0 deletions