summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-10-14 11:11:19 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-17 14:48:29 +0200
commite6ce4b980da5f89470277ded589ec9805e33e7f9 (patch)
tree39585716f1c4ffd63e8d54376c05357673c3c333 /test
parent55628d6b258f77eac8a34a1a8f6bbcbf09fd97cc (diff)
CalcUnoApiTest: factor out tearDown
Change-Id: Iae1ae76c1903ff3155da2dd407f1237c29f91840 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141375 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'test')
-rw-r--r--test/source/calc_unoapi_test.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/source/calc_unoapi_test.cxx b/test/source/calc_unoapi_test.cxx
index 8d7e218d9cda..578ac9d97c2d 100644
--- a/test/source/calc_unoapi_test.cxx
+++ b/test/source/calc_unoapi_test.cxx
@@ -30,6 +30,7 @@ void CalcUnoApiTest::setUp()
void CalcUnoApiTest::tearDown()
{
+ closeDocument(mxComponent);
uno::Reference< lang::XComponent >( m_xCalcComponent, UNO_QUERY_THROW )->dispose();
UnoApiTest::tearDown();
}