[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 9 20:29:57 UTC 2021
sw/qa/extras/layout/layout2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0725ae6f1650077367fcefa55aeed7ba82c1fec5
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri Apr 9 17:49:00 2021 +0200
Commit: Xisco Fauli <xiscofauli at 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 <xiscofauli at 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);
More information about the Libreoffice-commits
mailing list