diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-04 23:40:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-04 23:41:04 +0100 |
commit | 4fcd5534348adcb61ab85b93478c272b8d9e8f8c (patch) | |
tree | c1bbca9e4a3175d56a35aa63f91b1ed36bebd242 /filter/qa | |
parent | OLE: Turn an OSL_ENSURE() into a real condition. (diff) | |
download | core-4fcd5534348adcb61ab85b93478c272b8d9e8f8c.tar.gz core-4fcd5534348adcb61ab85b93478c272b8d9e8f8c.zip |
filter: sigh... fix the xslt test to run on WNT too
Change-Id: Iadd5034418e077bf051b23cda70f070c52840645
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/cppunit/xslt-test.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx index db8fe7defaf6..3708e319a7d5 100644 --- a/filter/qa/cppunit/xslt-test.cxx +++ b/filter/qa/cppunit/xslt-test.cxx @@ -77,6 +77,7 @@ void XsltFilterTest::testXsltCopyNew() OUString tempURL; osl::File::RC rc = osl::File::createTempFile(0, &tempFile, &tempURL); CPPUNIT_ASSERT(osl::FileBase::E_None == rc); + osl_closeFile(tempFile); // close it so xSFA can open it on WNT OUString source( getURLFromSrc("/filter/source/xsltfilter/xsltfilter.component")); @@ -131,6 +132,7 @@ void XsltFilterTest::testXsltCopyOld() OUString tempURL; osl::File::RC rc = osl::File::createTempFile(0, &tempFile, &tempURL); CPPUNIT_ASSERT(osl::FileBase::E_None == rc); + osl_closeFile(tempFile); // close it so xSFA can open it on WNT OUString source( getURLFromSrc("/filter/source/xsltfilter/xsltfilter.component")); |