sw/qa/core/layout/flycnt.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 6c1ea9d5c897d4fbd6de621c3594be60d60554e4
Author: Miklos Vajna <[email protected]>
AuthorDate: Thu Dec 14 10:49:54 2023 +0100
Commit: Miklos Vajna <[email protected]>
CommitDate: Thu Dec 14 13:53:35 2023 +0100
CppunitTest_sw_core_layout: remove duplicated assert
See
<https://gerrit.libreoffice.org/c/core/+/160756/2#message-9a43d741ca1307aa796eda092bd3857614c63a6f>.
Change-Id: I6db7128240b344a8169214a70fdcaff3cab57286
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160759
Reviewed-by: Miklos Vajna <[email protected]>
Tested-by: Jenkins
diff --git a/sw/qa/core/layout/flycnt.cxx b/sw/qa/core/layout/flycnt.cxx
index 455012ea4948..07202905fc5f 100644
--- a/sw/qa/core/layout/flycnt.cxx
+++ b/sw/qa/core/layout/flycnt.cxx
@@ -1125,7 +1125,6 @@ CPPUNIT_TEST_FIXTURE(Test, testSplitFlyMoveMaster)
// Without the accompanying fix in place, this test would have failed, the
fly chain was pages 1
// -> 4 -> 2.
CPPUNIT_ASSERT(pPage1->GetSortedObjs());
- CPPUNIT_ASSERT(pPage1->GetSortedObjs());
SwSortedObjs& rPage1Objs = *pPage1->GetSortedObjs();
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), rPage1Objs.size());
auto pPage1Fly =
rPage1Objs[0]->DynCastFlyFrame()->DynCastFlyAtContentFrame();