summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 16:21:34 +0200
committerNoel Grandin <noel@peralex.com>2013-11-21 13:29:29 +0200
commit89633c6da1cde46983926dcc2e0f8e08de0e9378 (patch)
tree243f049b51b9f404e8697781dfada6c20ff0fee1 /odk
parent2a46a01902bccd1f025cce92ce6d32efbabf6825 (diff)
remove unnecessary use of OUString::createFromAscii
Convert code like this: OUString aStrSpacing(OUString::createFromAscii("spacing")); to: OUString aStrSpacing("spacing"); Change-Id: Ia2b7d6b42f35d33cfe587a0d6668030f3537fa6d
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/cpp/counter/countermain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/cpp/counter/countermain.cxx b/odk/examples/cpp/counter/countermain.cxx
index 2e8d60780004..6cbde3a278f2 100644
--- a/odk/examples/cpp/counter/countermain.cxx
+++ b/odk/examples/cpp/counter/countermain.cxx
@@ -79,7 +79,7 @@ SAL_IMPLEMENT_MAIN()
OSL_ENSURE( xMgr.is(), "### cannot get initial service manager!" );
Reference< XInterface > xx = xMgr->createInstanceWithContext(
- OUString::createFromAscii("foo.Counter"), xContext);
+ OUString("foo.Counter"), xContext);
OSL_ENSURE( xx.is(), "### cannot get service instance of \"foo.Counter\"!" );