Kaydet (Commit) 206b748f authored tarafından Markus Mohrhard's avatar Markus Mohrhard

it is not possible to start/terminate libreoffice twice in the same program

we have a static variable that prevents us from terminating libreoffice
in this case here
üst c0e1ef3b
......@@ -139,11 +139,6 @@ void ScCellProperties::tearDown()
UnoApiTest::tearDown();
if (nTest == NUMBER_OF_TESTS)
{
mxDesktop->terminate();
uno::Reference< lang::XComponent>(m_xContext, UNO_QUERY_THROW)->dispose();
}
}
CPPUNIT_TEST_SUITE_REGISTRATION(ScCellProperties);
......
......@@ -185,11 +185,6 @@ void ScXCellRangesQuery::tearDown()
UnoApiTest::tearDown();
if (nTest == NUMBER_OF_TESTS)
{
mxDesktop->terminate();
uno::Reference< lang::XComponent>(m_xContext, UNO_QUERY_THROW)->dispose();
}
}
CPPUNIT_TEST_SUITE_REGISTRATION(ScXCellRangesQuery);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment