summaryrefslogtreecommitdiff
path: root/test/source/unoapi_test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/unoapi_test.cxx')
-rw-r--r--test/source/unoapi_test.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index 922ef2acc69f..702cc1f8122c 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -44,8 +44,7 @@ void UnoApiTest::setUp()
// 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_xCalcComponent =
- getMultiServiceFactory()->createInstance(rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Calc.SpreadsheetDocument")));
+ getMultiServiceFactory()->createInstance(rtl::OUString("com.sun.star.comp.Calc.SpreadsheetDocument"));
CPPUNIT_ASSERT_MESSAGE("no calc component!", m_xCalcComponent.is());
mxDesktop = com::sun::star::frame::Desktop::create( comphelper::getComponentContext(getMultiServiceFactory()) );
}