summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:35:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:35:12 +0100
commit0167885e0ade1df2872b864a3bc99b22a186672a (patch)
tree13ac7891999dc8b17a2b9f9c3806707aa537abcd /cpputools
parent03b0fd3e5f8292d63db7d8db1032c1ecc369965c (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Iefb181010ad8514227dfe617379eeaccb8d70152
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index f4f60cfed009..512dfecda97b 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -198,12 +198,12 @@ static Reference< XInterface > loadComponent(
if (aExt == "dll" || aExt == "exe" || aExt == "dylib" || aExt == "so")
{
createInstance(
- xLoader, xContext, OUString("com.sun.star.loader.SharedLibrary") );
+ xLoader, xContext, "com.sun.star.loader.SharedLibrary" );
}
else if (aExt == "jar" || aExt == "class")
{
createInstance(
- xLoader, xContext, OUString("com.sun.star.loader.Java") );
+ xLoader, xContext, "com.sun.star.loader.Java" );
}
else
{
@@ -502,7 +502,7 @@ SAL_IMPLEMENT_MAIN()
Reference< XBridgeFactory > xBridgeFactory;
createInstance(
xBridgeFactory, xContext,
- OUString("com.sun.star.bridge.BridgeFactory") );
+ "com.sun.star.bridge.BridgeFactory" );
// bridge
Reference< XBridge > xBridge( xBridgeFactory->createBridge(