summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-28 13:35:27 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-27 03:10:16 +0000
commite7debed56f5f037208e49233034ad8a578d1dfbc (patch)
treecde251e8f3c7276deae9cd7b29923bc3c5c7d58e /sc/inc/table.hxx
parentc6020d169c857d4250f966150f2d48d0735e2c75 (diff)
fdo#66011 abi#2128 RTF import: fix memory leak
Commit 9389cf78e304a5a99bcf1745b9388e14ac36281a (cp#1000018 RTF import: empty para at the end of footnote text got lost, 2013-11-15) assumed that \par at the end of all substreams means an empty paragraph, but it turns out this is only true for footnotes/endnotes, but not for e.g. headers. Additionally, that commit actually causes a memory leak, which is detected by an assert in the SwIndexReg dtor, so crash-testing caught this. (cherry picked from commit f7ef84640258e4ee6ddc4cc5cbf58a2d89860afa) Change-Id: Idfa040bf3026a9515a120cd7afaf7d314553a131 Reviewed-on: https://gerrit.libreoffice.org/7663 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/inc/table.hxx')
0 files changed, 0 insertions, 0 deletions