From 4fcd5534348adcb61ab85b93478c272b8d9e8f8c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 4 Mar 2014 23:40:35 +0100 Subject: [PATCH] filter: sigh... fix the xslt test to run on WNT too Change-Id: Iadd5034418e077bf051b23cda70f070c52840645 --- filter/qa/cppunit/xslt-test.cxx | 2 ++ 1 file changed, 2 insertions(+) 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"));