summaryrefslogtreecommitdiff
path: root/sd/qa/unit/filters-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/qa/unit/filters-test.cxx')
-rw-r--r--sd/qa/unit/filters-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/filters-test.cxx b/sd/qa/unit/filters-test.cxx
index 961fae0495e1..08babce22754 100644
--- a/sd/qa/unit/filters-test.cxx
+++ b/sd/qa/unit/filters-test.cxx
@@ -69,7 +69,7 @@ bool SdFiltersTest::load(const OUString &rFilter, const OUString &rURL,
rUserData, OUString() ));
const_cast<SfxFilter*>(pFilter.get())->SetVersion(nFilterVersion);
- ::sd::DrawDocShellRef xDocShRef = new ::sd::DrawDocShell();
+ ::sd::DrawDocShellRef xDocShRef = new ::sd::DrawDocShell(SfxObjectCreateMode::EMBEDDED, false);
SfxMedium* pSrcMed = new SfxMedium(rURL, StreamMode::STD_READ);
pSrcMed->SetFilter(pFilter);
bool bLoaded = xDocShRef->DoLoad(pSrcMed);