filter/qa/cppunit/xslt-test.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4fcd5534348adcb61ab85b93478c272b8d9e8f8c Author: Michael Stahl <mst...@redhat.com> Date: Tue Mar 4 23:40:35 2014 +0100 filter: sigh... fix the xslt test to run on WNT too Change-Id: Iadd5034418e077bf051b23cda70f070c52840645 diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx index db8fe7d..3708e31 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")); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits