summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/qa/unit/filters-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 8611df08aadb..03a1f5e1935a 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -195,8 +195,8 @@ ScDocShellRef FiltersTest::load(const rtl::OUString &rFilter, const rtl::OUStrin
if (!xDocShRef->DoLoad(&aSrcMed))
// load failed.
xDocShRef.Clear();
- else if (nFormatType)
- SfxObjectShell::SetCurrentComponent( xDocShRef->GetModel() );
+ //else if (nFormatType)
+ //SfxObjectShell::SetCurrentComponent( xDocShRef->GetModel() );
return xDocShRef;
}