diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2023-12-05 13:08:37 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-12-05 14:14:13 +0100 |
commit | 192c581395e2db07829ff9ba1ed79d5492dcbbce (patch) | |
tree | f1a4411364e05d8e32f9173de97b72e4b23a937a | |
parent | fd11b63244f784b336690d9096cd3f820cdbb9ee (diff) |
Fix typo
Change-Id: I5f000f53f4dfec62a6d5a332361c380dc142d2bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160342
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | sw/qa/core/layout/tabfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/layout/tabfrm.cxx b/sw/qa/core/layout/tabfrm.cxx index 091b78cd2478..9357fc2df133 100644 --- a/sw/qa/core/layout/tabfrm.cxx +++ b/sw/qa/core/layout/tabfrm.cxx @@ -187,7 +187,7 @@ CPPUNIT_TEST_FIXTURE(Test, testSplitFlyWrappedByTable) CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), rPageObjs.size()); auto pFly = rPageObjs[0]->DynCastFlyFrame()->DynCastFlyAtContentFrame(); CPPUNIT_ASSERT(pFly); - // Get the bottom of of the floating table, ignoring margins: + // Get the bottom of the floating table, ignoring margins: SwTwips nFloatingBottom = pFly->getFrameArea().Top() + pFly->getFramePrintArea().Height(); SwFrame* pBody = pPage->FindBodyCont(); auto pTab = pBody->GetLower()->GetNext()->DynCastTabFrame(); |