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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index caa3552dd221..214ed174ec2e 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -28,7 +28,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(OUString("com.sun.star.comp.Calc.SpreadsheetDocument"));
+ getMultiServiceFactory()->createInstance("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()) );
}