we no longer need to open unit test files READWRITE in sc
This commit is contained in:
parent
4b11901d69
commit
98f138c7ca
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue