diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-10 15:23:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-11 00:28:47 +0200 |
commit | 3d85ec29ddd73ed996debdcf118f8c32774362ed (patch) | |
tree | 2eed1fd2ab3ef3aa405f4f4374472b8c8ed6ee56 /filter/qa | |
parent | fdo#65864: dont't traverse defs-nodes when in shape writing mode (diff) | |
download | core-3d85ec29ddd73ed996debdcf118f8c32774362ed.tar.gz core-3d85ec29ddd73ed996debdcf118f8c32774362ed.zip |
filter: stop leaking temp files in xsltfilter test
Change-Id: Icefec168910ba0b059f4b1887ec67cce8505ffd6
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/cppunit/xslt-test.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx index 1a580d0b36a2..f9945eac8952 100644 --- a/filter/qa/cppunit/xslt-test.cxx +++ b/filter/qa/cppunit/xslt-test.cxx @@ -122,6 +122,8 @@ void XsltFilterTest::testXsltCopyNew() sal_uInt64 size(0); foo.getSize(size); CPPUNIT_ASSERT(size > 1000); // check that something happened + foo.close(); + osl_removeFile(tempURL.pData); } void XsltFilterTest::testXsltCopyOld() @@ -182,6 +184,8 @@ void XsltFilterTest::testXsltCopyOld() sal_uInt64 size(0); foo.getSize(size); CPPUNIT_ASSERT(size > 1000); // check that something happened + foo.close(); + osl_removeFile(tempURL.pData); } CPPUNIT_TEST_SUITE_REGISTRATION(XsltFilterTest); |