diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-02-21 08:47:50 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-02-21 09:45:58 +0100 |
commit | 707344eaecbff672d7c837709d5c70d3eb04b6fd (patch) | |
tree | 0f47165f250fa6c2bd326fb1632a58ddd21bdabb | |
parent | Fix potentially uninitialized local variable 'fY' used in Windows TB (diff) | |
download | core-707344eaecbff672d7c837709d5c70d3eb04b6fd.tar.gz core-707344eaecbff672d7c837709d5c70d3eb04b6fd.zip |
sw model test base: remove no longer needed postLoad()
The only impl was a stub, it was only called at one place.
Change-Id: I7b6b6824e871381b1a96b5cecd4a94beb3197310
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163677
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | sw/qa/inc/swmodeltestbase.hxx | 5 | ||||
-rw-r--r-- | sw/qa/unit/swmodeltestbase.cxx | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sw/qa/inc/swmodeltestbase.hxx b/sw/qa/inc/swmodeltestbase.hxx index 3a715c8434a7..c553fd9cb985 100644 --- a/sw/qa/inc/swmodeltestbase.hxx +++ b/sw/qa/inc/swmodeltestbase.hxx @@ -127,11 +127,6 @@ protected: CPPUNIT_FAIL( "verify method must be overridden" ); } - /// Override this function if some special file-specific setup is needed during export test: after load, but before save. - virtual void postLoad(const char* /*pFilename*/) - { - } - void dumpLayout(const css::uno::Reference< css::lang::XComponent > & rComponent); void discardDumpedLayout(); diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx index de3c815a7157..e7a3087df3f8 100644 --- a/sw/qa/unit/swmodeltestbase.cxx +++ b/sw/qa/unit/swmodeltestbase.cxx @@ -68,7 +68,6 @@ void SwModelTestBase::executeLoadVerifyReloadVerify(const char* filename, const header(); loadURL(createFileURL(OUString::createFromAscii(filename)), pPassword); verify(); - postLoad(filename); saveAndReload(mpFilter, pPassword); verify(); finish(); |