diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-04-09 17:49:00 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-04-09 22:29:12 +0200 |
commit | 0725ae6f1650077367fcefa55aeed7ba82c1fec5 (patch) | |
tree | b5651326564d7056835e46f79f95a1a8e287eb9b | |
parent | 9b6545773605c421a9266fcffca95d21131f5ada (diff) |
sw_layoutwriter: fix assert
Change-Id: Iddd6271c70bebe0b2b146509f6603e0a43fda4d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113890
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | sw/qa/extras/layout/layout2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |