[Libreoffice-commits] .: sc/qa

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Jul 18 08:21:53 PDT 2011


 sc/qa/unit/filters-test.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 82b2faf8b0721ec47a3e1aa277a368a022f7d1e2
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Jul 18 11:21:31 2011 -0400

    I'm sure this is meant to be CalcComponent instead of WriterComponent.

diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 288249c..58189b0 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);


More information about the Libreoffice-commits mailing list