we no longer need to open unit test files READWRITE in sc

This commit is contained in:
Markus Mohrhard 2011-11-14 19:00:29 +01:00
parent 4b11901d69
commit 98f138c7ca

View file

@ -209,7 +209,7 @@ ScDocShellRef ScFiltersTest::load(const rtl::OUString &rFilter, const rtl::OUStr
aFilter->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
ScDocShellRef xDocShRef = new ScDocShell;
SfxMedium* pSrcMed = new SfxMedium(rURL, STREAM_STD_READWRITE, true);
SfxMedium* pSrcMed = new SfxMedium(rURL, STREAM_STD_READ, true);
pSrcMed->SetFilter(aFilter);
if (!xDocShRef->DoLoad(pSrcMed))
{