summaryrefslogtreecommitdiff
path: root/writerfilter/CppunitTest_writerfilter_dmapper.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-08 15:40:32 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-08 17:16:39 +0100
commita86a2a1c1ceb7203857d4317913c5b1bb9feb4aa (patch)
tree171aac547b71604678aee2dc70d07f53784a03d9 /writerfilter/CppunitTest_writerfilter_dmapper.mk
parent7e4b2d90f8b877bd954b7549e17c790fa05ea96a (diff)
DOCX import: fix lost page break when footer ends with a table
Regression from commit 7d3778e0ef9f54f3c8988f1b84d58e7002d6c625 (bnc#816593 DOCX import: ignore page breaks in tables, 2013-09-02), the page break was ignored because the preceding footer ended with a table (no empty paragraph at the end of the footer stream). Fix the problem by saving/loading the table state around header/footers, that way the page break is not ignored. Adjust testTdf102466 to test the page number from Word. Change-Id: Ia4c22452ee2c37f7f941dfd922db04c851644d0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86435 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'writerfilter/CppunitTest_writerfilter_dmapper.mk')
-rw-r--r--writerfilter/CppunitTest_writerfilter_dmapper.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/CppunitTest_writerfilter_dmapper.mk b/writerfilter/CppunitTest_writerfilter_dmapper.mk
index 9805e28228a0..41b92e9bdb3e 100644
--- a/writerfilter/CppunitTest_writerfilter_dmapper.mk
+++ b/writerfilter/CppunitTest_writerfilter_dmapper.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_CppunitTest_use_externals,writerfilter_dmapper,\
$(eval $(call gb_CppunitTest_add_exception_objects,writerfilter_dmapper, \
writerfilter/qa/cppunittests/dmapper/CellColorHandler \
writerfilter/qa/cppunittests/dmapper/DomainMapperTableHandler \
+ writerfilter/qa/cppunittests/dmapper/DomainMapper_Impl \
))
$(eval $(call gb_CppunitTest_use_libraries,writerfilter_dmapper, \