summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-09-30 00:43:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-09-30 00:43:50 +0200
commiteea06c00ab4ea0e26259a1e9f732076709d1026c (patch)
tree151d05c182ad6016d6adef8ae9933e1ea9c87732 /sc
parent5e733c781fb1344d1906c6b4f3d9c4f032305bbd (diff)
enable the registration for vba unit test again
Diffstat (limited to 'sc')
-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 03a1f5e1935a..8611df08aadb 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;
}