From 9881bea8d41997fb46579eb5f0314300159c96cc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 28 May 2017 19:41:52 +0200 Subject: remove unnecessary use of OUString::getStr Change-Id: I3d13e1c0bb6aa4a7aacc463198747c1368ebc9b4 Reviewed-on: https://gerrit.libreoffice.org/38114 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppuhelper/source/factory.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 649024f667d8..3b5dafe92cdd 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -700,9 +700,8 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory() { aActivatorUrl = xActivatorKey->getAsciiValue(); - OUString tmpActivator(aActivatorUrl.getStr()); sal_Int32 nIndex = 0; - aActivatorName = tmpActivator.getToken(0, ':', nIndex ); + aActivatorName = aActivatorUrl.getToken(0, ':', nIndex ); Reference xLocationKey = xImplementationKey->openKey( "/UNO/LOCATION" ); -- cgit