diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-05-31 17:54:00 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-06-01 14:29:51 +0200 |
commit | 29224bf7305ab8ba103be145effc8ac467ffcfd6 (patch) | |
tree | ce3a1c342a08fd5c6bc6fd75e007d77c681aa052 /sw/qa/extras/txtimport | |
parent | b6b28854c77731f7506b2551dc5dd47f798ca946 (diff) |
SwModelTestBase: simplify code a bit
and rename reload method to saveAndReload to unify
code and use it everywhere
Change-Id: I7c0f4e8d2feb7a0f9ca28df4b6dddd7a11b2e57e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152455
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/extras/txtimport')
-rw-r--r-- | sw/qa/extras/txtimport/txtimport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/extras/txtimport/txtimport.cxx b/sw/qa/extras/txtimport/txtimport.cxx index 10a4e54d429c..99cb15b16ad2 100644 --- a/sw/qa/extras/txtimport/txtimport.cxx +++ b/sw/qa/extras/txtimport/txtimport.cxx @@ -212,8 +212,7 @@ CPPUNIT_TEST_FIXTURE(TxtImportTest, testTdf70423) OUString aResStr = s.makeStringAndClear(); pWrtShell->Insert(aResStr); - save("Text", "maTempFile"); //Saving the resulting file - reload(mpFilter, "Text"); //Reloading the file again + saveAndReload("Text"); //Reloading the file again // Without the fix, this test would have failed with: // - Expected: 1 |