diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-16 16:59:38 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-16 20:08:29 +0100 |
commit | b61ca6f7bf4e5b5b1980ad03f2a5f2d01e8c22fe (patch) | |
tree | 70665b54fdade39411b8c1e30d6c2ade519be6e3 /test | |
parent | e515267602d9049bc15739a215f43f1379141d81 (diff) |
CppunitTest_sc_uicalc: inherit from ScModelTestBase
so createScDoc handles the dispose of new documents
saveAndClose can go now
Change-Id: I7f88ef6ff9aaece72461489a31b0ef456ce5e170
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142781
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/unoapi_test.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx index 12e0aab043b5..a1c0580cfd61 100644 --- a/test/source/unoapi_test.cxx +++ b/test/source/unoapi_test.cxx @@ -190,14 +190,6 @@ void UnoApiTest::save(const OUString& rFilter, const char* pPassword) } } -void UnoApiTest::saveAndClose(const OUString& rFilter) -{ - save(rFilter, nullptr); - - mxComponent->dispose(); - mxComponent.clear(); -} - void UnoApiTest::saveAndReload(const OUString& rFilter, const char* pPassword) { save(rFilter, pPassword); |