diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-09-28 10:41:07 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-09-28 11:04:19 +0200 |
commit | bb069fe7b8b6a24f9ff4df4c7052961e17ea3a8c (patch) | |
tree | 2456f6b1d78a90284792eb91b79be1e46d5266b5 /oox/source/shape/LockedCanvasContext.hxx | |
parent | 2bd8be10e231314e757f29a37177f529e6f1df47 (diff) |
sw: remove defensive programming bullshit in lcl_AssureFieldMarksSet
In CppunitTest_sw_ooxmlfieldexport testFdo81492 a TextFieldmark is
inserted at a position where already another TextFieldmark starts. The
defensively programmed lcl_AssureFieldMarksSet notices there is aleady a
dummy character at the start position, and does not insert another one,
but then the dummy character for the end position is inserted, moving
the start position index, which puts the start position behind another
bookmark.
So we end up with a field mark that has a end character but not a start
character and an un-sorted m_vAllMarks.
Change-Id: Icd15e83471e18f607eb41b2f7b0c2ce61c94ff9f
Diffstat (limited to 'oox/source/shape/LockedCanvasContext.hxx')
0 files changed, 0 insertions, 0 deletions