From 9422879a5cf74120c1057b0f8150529e304f7c95 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 May 2024 12:55:53 +0200 Subject: loplugin:ostr in desktop Change-Id: Ib43d1c3a182badddd870bcb8e052ac7fd0a16fc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167270 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/app/appinit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source/app/appinit.cxx') diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index 887b717d43ad..633ebde2d967 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -153,7 +153,7 @@ void Desktop::createAcceptor(const OUString& aAcceptString) Sequence< Any > aSeq{ Any(aAcceptString), Any(bAccept) }; Reference< XComponentContext > xContext = ::comphelper::getProcessComponentContext(); Reference rAcceptor( - xContext->getServiceManager()->createInstanceWithContext("com.sun.star.office.Acceptor", xContext), + xContext->getServiceManager()->createInstanceWithContext(u"com.sun.star.office.Acceptor"_ustr, xContext), UNO_QUERY ); if ( rAcceptor.is() ) { -- cgit