From b5db48ada113206ac090e4a08f2ae211859103ed Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 31 Oct 2015 15:13:58 +0200 Subject: no need to use OUString constructor in call to createInstance Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins Reviewed-by: Noel Grandin --- configmgr/qa/unit/test.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'configmgr') diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx index 82c9b1e75ed9..b2a5a21406a4 100644 --- a/configmgr/qa/unit/test.cxx +++ b/configmgr/qa/unit/test.cxx @@ -470,8 +470,7 @@ css::uno::Reference< css::uno::XInterface > Test::createViewAccess( OUString("nodepath"), css::uno::makeAny(path)))); return provider_->createInstanceWithArguments( - OUString( - "com.sun.star.configuration.ConfigurationAccess"), + "com.sun.star.configuration.ConfigurationAccess", css::uno::Sequence< css::uno::Any >(&arg, 1)); } @@ -484,8 +483,7 @@ css::uno::Reference< css::uno::XInterface > Test::createUpdateAccess( OUString("nodepath"), css::uno::makeAny(path)))); return provider_->createInstanceWithArguments( - OUString( - "com.sun.star.configuration.ConfigurationUpdateAccess"), + "com.sun.star.configuration.ConfigurationUpdateAccess", css::uno::Sequence< css::uno::Any >(&arg, 1)); } -- cgit