summaryrefslogtreecommitdiffstats
path: root/odk/examples/DevelopersGuide/ProfUNO
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-30 08:40:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-30 08:59:59 +0000
commit3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd (patch)
tree6e7f5d288cf65935b3ed1f0b88200d32d2f016f0 /odk/examples/DevelopersGuide/ProfUNO
parenttdf#90987: SlideSorterBarOptions was missing Commit() too (diff)
downloadcore-3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd.tar.gz
core-3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd.zip
UNO: no need to use OUString constructor when calling createInstance
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'odk/examples/DevelopersGuide/ProfUNO')
-rw-r--r--odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
index fab8b8d9d1f4..c51ca17f8f6c 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
+++ b/odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
@@ -64,7 +64,7 @@ SAL_IMPLEMENT_MAIN()
// instantiate a sample service with the servicemanager.
Reference< XInterface > rInstance =
rServiceManager->createInstanceWithContext(
- OUString("com.sun.star.bridge.UnoUrlResolver"),
+ "com.sun.star.bridge.UnoUrlResolver",
rComponentContext );
// Query for the XUnoUrlResolver interface