diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /odk/examples/DevelopersGuide/Components | |
parent | e9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff) |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'odk/examples/DevelopersGuide/Components')
-rw-r--r-- | odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx | 2 | ||||
-rw-r--r-- | odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx index 86d4da0756f8..37c4b61fe4e4 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx @@ -54,7 +54,7 @@ namespace my_sc_impl Sequence< OUString > SAL_CALL getSupportedServiceNames_MyService1Impl() { Sequence< OUString > names(1); - names[0] = OUString("my_module.MyService1"); + names[0] = "my_module.MyService1"; return names; } diff --git a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx index f23e5cfee55c..c9ed065fd690 100644 --- a/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx +++ b/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx @@ -60,7 +60,7 @@ extern Reference< XInterface > SAL_CALL create_MyService1Impl( static Sequence< OUString > getSupportedServiceNames_MyService2Impl() { Sequence<OUString> names(1); - names[0] = OUString("my_module.MyService2"); + names[0] = "my_module.MyService2"; return names; } |