summaryrefslogtreecommitdiff
path: root/sw/qa/core/layout-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/core/layout-test.cxx')
-rw-r--r--sw/qa/core/layout-test.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/core/layout-test.cxx b/sw/qa/core/layout-test.cxx
index 7539713c70b9..6261e3f7100f 100644
--- a/sw/qa/core/layout-test.cxx
+++ b/sw/qa/core/layout-test.cxx
@@ -84,8 +84,7 @@ void SwLayoutTest::setUp()
// This is a bit of a fudge, we do this to ensure that SwGlobals::ensure,
// which is a private symbol to us, gets called
m_xWriterComponent =
- getMultiServiceFactory()->createInstance(OUString(
- "com.sun.star.comp.Writer.TextDocument"));
+ getMultiServiceFactory()->createInstance("com.sun.star.comp.Writer.TextDocument");
CPPUNIT_ASSERT_MESSAGE("no calc component!", m_xWriterComponent.is());
mxDesktop = com::sun::star::frame::Desktop::create( comphelper::getComponentContext(getMultiServiceFactory()) );
}