sw/qa/inc/swmodeltestbase.hxx  |    5 -----
 sw/qa/unit/swmodeltestbase.cxx |    1 -
 2 files changed, 6 deletions(-)

New commits:
commit 707344eaecbff672d7c837709d5c70d3eb04b6fd
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Wed Feb 21 08:47:50 2024 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Feb 21 09:45:58 2024 +0100

    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 <vmik...@collabora.com>
    Tested-by: Jenkins

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();

Reply via email to