diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 09:34:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 22:09:56 +0200 |
commit | d573e2ae17d2ff589ec7adc0dddf6a78db4cc93a (patch) | |
tree | cefd09b6f39b3116f26193dc043bda1f49713ae9 /remotebridges | |
parent | 41c04ceb3b1b14c3c99ede86524df8f3de4f5daa (diff) |
loplugin:ostr in various
Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'remotebridges')
-rw-r--r-- | remotebridges/source/unourl_resolver/unourl_resolver.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx index 6dc273ab365e..d4e8f6e9744f 100644 --- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx +++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx @@ -67,7 +67,7 @@ ResolverImpl::ResolverImpl( const Reference< XComponentContext > & xCtx ) // XServiceInfo OUString ResolverImpl::getImplementationName() { - return "com.sun.star.comp.bridge.UnoUrlResolver"; + return u"com.sun.star.comp.bridge.UnoUrlResolver"_ustr; } sal_Bool ResolverImpl::supportsService( const OUString & rServiceName ) @@ -77,7 +77,7 @@ sal_Bool ResolverImpl::supportsService( const OUString & rServiceName ) Sequence< OUString > ResolverImpl::getSupportedServiceNames() { - return { "com.sun.star.bridge.UnoUrlResolver" }; + return { u"com.sun.star.bridge.UnoUrlResolver"_ustr }; } // XUnoUrlResolver @@ -99,7 +99,7 @@ Reference< XInterface > ResolverImpl::resolve( const OUString & rUnoUrl ) } Reference< XConnector > xConnector( - _xSMgr->createInstanceWithContext( "com.sun.star.connection.Connector", _xCtx ), + _xSMgr->createInstanceWithContext( u"com.sun.star.connection.Connector"_ustr, _xCtx ), UNO_QUERY_THROW ); Reference< XConnection > xConnection( xConnector->connect( aConnectDescr ) ); |