Kaydet (Commit) 51e89c41 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

we don't need to open unit test files in sd with READWRITE either

üst 98f138c7
......@@ -117,7 +117,7 @@ FileFormat aFileFormats[] = {
aFilter->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
::sd::DrawDocShellRef xDocShRef = new ::sd::DrawDocShell();
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) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment