diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-20 16:32:59 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-02-21 08:26:50 +0000 |
commit | 310b5976bb827a0ffb274f70878852e4474a0559 (patch) | |
tree | 071ed1095fb4e0b94e871c672d321e0db459df6d /tubes | |
parent | a09865cc0f177a28622330866b3ad5baf4b99bd6 (diff) |
fdo#60789: writerfilter: do not insert a character at field start
The character inserted in DomainMapper_Impl::PushFieldContext() causes
problems in this bugdoc because there is a commentRangeStart immediately
before a text field and the call to delete it via setString("") disposes
the SwXTextRange that is stored in m_aAnnotationPosition.m_xStart,
which results in an exception when trying to insert the comment.
At least all the fields in the bugdoc import fine with this change.
Change-Id: I6c08d72fafb0529e8612f1e35b2c8b871edb5a52
(cherry picked from commit 6145c6efa4f346287ed9693c9d00038d829d5a35)
Reviewed-on: https://gerrit.libreoffice.org/2295
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'tubes')
0 files changed, 0 insertions, 0 deletions