diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-05-31 16:46:33 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-05-31 19:08:09 +0200 |
commit | 6aec73de12a56a56b3ffd9bb86b559bf0609bf58 (patch) | |
tree | 7c497527958919fed66ab8644ed5d0ff804b5444 /sw/qa/unit/swmodeltestbase.cxx | |
parent | 58ab2f002fd27974b474151b01287dac221dc102 (diff) |
SwModelTestBase: drop mustCalcLayoutOf
it's not used anywhere since f3294eb1789e9603b5129f0f2d61116fd4853b52
"CppunitTest_sw_htmlexport: remove not needed mustTestImportOf()"
Change-Id: Ifb27c176bd64ca3efecb0f9b142b6144c5703556
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152453
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/unit/swmodeltestbase.cxx')
-rw-r--r-- | sw/qa/unit/swmodeltestbase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx index 85b0e1ed0c59..8095d73ea9ec 100644 --- a/sw/qa/unit/swmodeltestbase.cxx +++ b/sw/qa/unit/swmodeltestbase.cxx @@ -471,8 +471,7 @@ void SwModelTestBase::loadURL(OUString const& rURL, const char* pName, const cha CPPUNIT_ASSERT(!getSwDocShell()->GetMedium()->GetWarningError()); discardDumpedLayout(); - if (pName && mustCalcLayoutOf(pName)) - calcLayout(); + calcLayout(); } void SwModelTestBase::reload(const char* pFilter, const char* pName, const char* pPassword) |