summaryrefslogtreecommitdiff
path: root/odk/examples/cpp/counter/countermain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/cpp/counter/countermain.cxx')
-rw-r--r--odk/examples/cpp/counter/countermain.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/odk/examples/cpp/counter/countermain.cxx b/odk/examples/cpp/counter/countermain.cxx
index f917a4fe8da5..a00e22143605 100644
--- a/odk/examples/cpp/counter/countermain.cxx
+++ b/odk/examples/cpp/counter/countermain.cxx
@@ -71,8 +71,7 @@ SAL_IMPLEMENT_MAIN()
Reference< XMultiComponentFactory > xMgr = xContext->getServiceManager();
OSL_ENSURE( xMgr.is(), "### cannot get initial service manager!" );
- Reference< XInterface > xx = xMgr->createInstanceWithContext(
- OUString("foo.Counter"), xContext);
+ Reference< XInterface > xx = xMgr->createInstanceWithContext( "foo.Counter", xContext);
OSL_ENSURE( xx.is(), "### cannot get service instance of \"foo.Counter\"!" );