summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorVasily Melenchuk <Vasily.Melenchuk@cib.de>2017-10-09 19:10:18 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-10-10 19:34:15 +0200
commit9c4d690b73b30aa144828935ad4e87eb13442d0c (patch)
tree93f86f9110b96c94590aad94da5ad8c18bbf94ca /sw
parent47ec4332dde7a8b7a8abb188679e8b13481bd62f (diff)
tdf#90789: DOCX paragraphs in shapes like frames do not belong to section.
Change-Id: I60644bd62e2a2ac97a97f0a492b146dc69456cd6 Reviewed-on: https://gerrit.libreoffice.org/43291 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/data/tdf90789-2.docxbin0 -> 12372 bytes
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport9.cxx6
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf90789-2.docx b/sw/qa/extras/ooxmlexport/data/tdf90789-2.docx
new file mode 100644
index 000000000000..2f831d722ba9
--- /dev/null
+++ b/sw/qa/extras/ooxmlexport/data/tdf90789-2.docx
Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
index a612b14bfee2..3587dbfd53a6 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
@@ -1099,6 +1099,12 @@ DECLARE_OOXMLEXPORT_TEST(testTdf90789, "tdf90789.docx")
}
+DECLARE_OOXMLEXPORT_TEST(testTdf90789_2, "tdf90789-2.docx")
+{
+ // Section break before frame and shape was ignored
+ CPPUNIT_ASSERT_EQUAL( 3, getPages() );
+}
+
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */