sw/qa/extras/layout/layout2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0725ae6f1650077367fcefa55aeed7ba82c1fec5 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Apr 9 17:49:00 2021 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Apr 9 22:29:12 2021 +0200 sw_layoutwriter: fix assert Change-Id: Iddd6271c70bebe0b2b146509f6603e0a43fda4d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113890 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/layout/layout2.cxx b/sw/qa/extras/layout/layout2.cxx index 023c9b6aa61a..aff883cff4b8 100644 --- a/sw/qa/extras/layout/layout2.cxx +++ b/sw/qa/extras/layout/layout2.cxx @@ -2769,7 +2769,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf137185) auto pModel = pDoc->getIDocumentDrawModelAccess().GetDrawModel(); CPPUNIT_ASSERT(pModel); auto pPage = pModel->GetPage(0); - CPPUNIT_ASSERT(pModel); + CPPUNIT_ASSERT(pPage); auto pObj = pPage->GetObj(0); CPPUNIT_ASSERT(pObj); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits