summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-26 10:49:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-26 12:48:13 +0200
commitc0ec38fe54499b9d9940a85d3592671bc543958f (patch)
tree32cec4dee07beca84fece0ac3347ecaa44e49cb0 /cppuhelper
parent6f60a89a6be85d4cbe5840f9d0146eae98dbf543 (diff)
revert unnecessary change
from commit 25ada1e520b50247aa27fdbb6f1ab35e678c7ef9 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Thu Apr 21 13:59:07 2022 +0200 use more string_view in cppuhelper Change-Id: Ie5bd9226dca0f222edd0798b8b478054eda5162c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133430 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/factory.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 98ac7e6a3746..e6b920858160 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -701,7 +701,7 @@ Reference< XInterface > ORegistryFactoryHelper::createInstanceWithArgumentsAndCo
Reference< XInterface > ORegistryFactoryHelper::createModuleFactory()
{
OUString aActivatorUrl;
- std::u16string_view aActivatorName;
+ OUString aActivatorName;
OUString aLocation;
Reference<XRegistryKey > xActivatorKey = xImplementationKey->openKey(
@@ -744,9 +744,9 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory()
}
Reference< XInterface > xFactory;
- if( !aActivatorName.empty() )
+ if( !aActivatorName.isEmpty() )
{
- Reference<XInterface > x = xSMgr->createInstance( OUString(aActivatorName) );
+ Reference<XInterface > x = xSMgr->createInstance( aActivatorName );
Reference<XImplementationLoader > xLoader( x, UNO_QUERY );
if (xLoader.is())
{