diff options
Diffstat (limited to 'sc/qa/extras/scstyleloaderobj.cxx')
-rw-r--r-- | sc/qa/extras/scstyleloaderobj.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/qa/extras/scstyleloaderobj.cxx b/sc/qa/extras/scstyleloaderobj.cxx index 996436f046cd..e79e445bba80 100644 --- a/sc/qa/extras/scstyleloaderobj.cxx +++ b/sc/qa/extras/scstyleloaderobj.cxx @@ -109,9 +109,15 @@ void ScStyleLoaderObj::tearDown() if (nTest == NUMBER_OF_TESTS) { if (mxSourceComponent.is()) + { closeDocument(mxSourceComponent); + mxSourceComponent.clear(); + } if (mxTargetComponent.is()) + { closeDocument(mxTargetComponent); + mxTargetComponent.clear(); + } } CalcUnoApiTest::tearDown(); } |