diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-07-18 11:21:31 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-07-18 11:21:31 -0400 |
commit | 8eb85d95fd9a787736dcccb5c721af7810550a21 (patch) | |
tree | abefdad12b18c794222a0f258faa2e4eda5f02f8 /sc/qa | |
parent | a762a0b5c1dd36dbaaf5efdbcfaca484c2c46a69 (diff) |
I'm sure this is meant to be CalcComponent instead of WriterComponent.
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 288249ca8259..58189b0c3336 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -89,7 +89,7 @@ public: private: uno::Reference<uno::XComponentContext> m_xContext; uno::Reference<lang::XMultiComponentFactory> m_xFactory; - uno::Reference<uno::XInterface> m_xWriterComponent; + uno::Reference<uno::XInterface> m_xCalcComponent; ::rtl::OUString m_aSrcRoot; }; @@ -221,10 +221,10 @@ FiltersTest::FiltersTest() //This is a bit of a fudge, we do this to ensure that ScGlobals::ensure, //which is a private symbol to us, gets called - m_xWriterComponent = + m_xCalcComponent = xSM->createInstance(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Calc.SpreadsheetDocument"))); - CPPUNIT_ASSERT_MESSAGE("no calc component!", m_xWriterComponent.is()); + CPPUNIT_ASSERT_MESSAGE("no calc component!", m_xCalcComponent.is()); const char* pSrcRoot = getenv( "SRC_ROOT" ); CPPUNIT_ASSERT_MESSAGE("SRC_ROOT env variable not set", pSrcRoot != NULL && pSrcRoot[0] != 0); |