diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-27 20:51:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-28 21:36:29 +0200 |
commit | 4085bbbb895060f085a58e6275201015b84e3532 (patch) | |
tree | ab7e270afc783b733da4006b4bf3503d6ef5b91c /sw/qa | |
parent | 5b3c7ad096193ede848c2ad216d48160e266adbd (diff) |
forcepoint#94 fix crash on layout of specific html
Change-Id: I1874a431d5af9d56248a695e08a2f95b5292ba9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132153
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/layout/data/forcepoint94.html | bin | 0 -> 12370 bytes | |||
-rw-r--r-- | sw/qa/extras/layout/layout.cxx | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/layout/data/forcepoint94.html b/sw/qa/extras/layout/data/forcepoint94.html Binary files differnew file mode 100644 index 000000000000..8be788f8e4e5 --- /dev/null +++ b/sw/qa/extras/layout/data/forcepoint94.html diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx index 85fd9cbcae06..e0530dc58541 100644 --- a/sw/qa/extras/layout/layout.cxx +++ b/sw/qa/extras/layout/layout.cxx @@ -2521,6 +2521,12 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testForcepoint92) createSwDoc(DATA_DIRECTORY, "forcepoint92.doc"); } +//just care it doesn't crash/assert +CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testForcepoint94) +{ + createSwWebDoc(DATA_DIRECTORY, "forcepoint94.html"); +} + CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf118058) { SwDoc* pDoc = createSwDoc(DATA_DIRECTORY, "tdf118058.fodt"); |