From 51e89c41823e9d64f1f99f239c6900bb1a8bfe0e Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 14 Nov 2011 19:06:32 +0100 Subject: we don't need to open unit test files in sd with READWRITE either --- sd/qa/unit/filters-test.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/qa/unit/filters-test.cxx b/sd/qa/unit/filters-test.cxx index c01414384a6b..441be8e1ad2b 100644 --- a/sd/qa/unit/filters-test.cxx +++ b/sd/qa/unit/filters-test.cxx @@ -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) ) { -- cgit