diff options
Diffstat (limited to 'sd/qa/unit/import-tests.cxx')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 89b47ab5871a..b1023968ebe6 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -478,6 +478,8 @@ void SdImportTest::testGradientAngle() CPPUNIT_ASSERT(xTranspGradients->getByName("Transparency 4") >>= gradient); CPPUNIT_ASSERT_EQUAL(sal_Int16(1800), gradient.Angle); // 1000grad + + xDocShRef->DoClose(); } void SdImportTest::testN778859() @@ -597,6 +599,8 @@ void SdImportTest::testTdf97808() CPPUNIT_ASSERT_EQUAL(xStyle, xParent); CPPUNIT_ASSERT(xLine->getPropertyValue("LineEndName") >>= lineend); CPPUNIT_ASSERT_EQUAL(OUString(), lineend); + + xDocShRef->DoClose(); } void SdImportTest::testFdo64512() @@ -1124,6 +1128,8 @@ void SdImportTest::testBnc910045() xCell.set(xTable->getCellByPosition(0, 0), uno::UNO_QUERY_THROW); xCell->getPropertyValue("FillColor") >>= nColor; CPPUNIT_ASSERT_EQUAL(sal_Int32(5210557), nColor); + + xDocShRef->DoClose(); } void SdImportTest::testRowHeight() @@ -1141,6 +1147,8 @@ void SdImportTest::testRowHeight() uno::Reference< beans::XPropertySet > xRefRow( xRows->getByIndex(0), uno::UNO_QUERY_THROW ); xRefRow->getPropertyValue( sHeight ) >>= nHeight; CPPUNIT_ASSERT_EQUAL( sal_Int32(507), nHeight); + + xDocShRef->DoClose(); } void SdImportTest::testTdf93830() { @@ -1192,6 +1200,8 @@ void SdImportTest::testTdf62255() aAny >>= aFillStyle; CPPUNIT_ASSERT_EQUAL(drawing::FillStyle_NONE, aFillStyle); } + + xDocShRef->DoClose(); } void SdImportTest::testTdf89927() |