diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-14 19:06:32 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-14 23:50:55 +0100 |
commit | 51e89c41823e9d64f1f99f239c6900bb1a8bfe0e (patch) | |
tree | 2cf8443f9ecfffbb9d365934368d2bd8b4adf9a1 | |
parent | 98f138c7ca207f6625be4fb910deac8cb4cb68d9 (diff) |
we don't need to open unit test files in sd with READWRITE either
-rw-r--r-- | sd/qa/unit/filters-test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) ) { |