diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-29 18:30:06 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-09-29 18:35:16 +0200 |
commit | 3581e9df565df6cb67992c25e47ff37fd85030b3 (patch) | |
tree | 43f32f2998c3674a84fbab3973280b5e420ae2fc /sc | |
parent | b94aa65357bb7c9e7da8ef3b4dc4ed98ab70ec2f (diff) |
init the unit test for vba unit tests correctly
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index dfc4cc9db6da..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 -// SfxObjectShell::SetCurrentComponent( xDocShRef->GetModel() ); + else if (nFormatType) + SfxObjectShell::SetCurrentComponent( xDocShRef->GetModel() ); return xDocShRef; } |