enable the registration for vba unit test again

This commit is contained in:
Markus Mohrhard
2011-09-30 00:43:50 +02:00
parent 5e733c781f
commit eea06c00ab

View File

@@ -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;
}