diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-06-27 16:02:45 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-07-04 11:33:51 +0200 |
commit | 1b0f344b5ff1172783c1b108326b91dfac0965dd (patch) | |
tree | 677ed8c69bdaac95df3946937a06ced732ef9fa8 /vcl | |
parent | b5e094c20af952602b7bec1ab913774ebb54375b (diff) |
fdo#78758: sw: RTF export: don't export multiple \fldrst for one hyperlink
Ensure that we export only one \fldresult per hyperlink by doing that in
StartURL() and EndURL(); the TextINetFormat() is called once per text
portion. This shouldn't cause problems as there can't be anything
between the end of the \field group and the start of \fldresult anyway.
Replace the annoying call to EndURL() from EndRun() with a special case
in EndURL() to store things in the right buffer (hopefully).
(somehow this is regression from c4498251cb7181a9f272b0720f398597c0daef09)
(cherry picked from commit b8907bf3d3b37c686a414ffbbd2d732348aab5b9)
Conflicts:
sw/source/filter/ww8/docxattributeoutput.hxx
sw/source/filter/ww8/rtfattributeoutput.cxx
sw/source/filter/ww8/rtfattributeoutput.hxx
sw/source/filter/ww8/ww8attributeoutput.hxx
Change-Id: I209ea7a384fb1cb5d1505a70ecc4a4536bbf26a2
Reviewed-on: https://gerrit.libreoffice.org/10021
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions