summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-31 15:13:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-01 15:25:43 +0000
commitb5db48ada113206ac090e4a08f2ae211859103ed (patch)
tree5ca14a8e4209f18845476546953683b6adc860ab /configmgr
parent9da44ea99fe2fb4455b5e02ee8b178f22584254a (diff)
no need to use OUString constructor in call to createInstance
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/qa/unit/test.cxx6
1 files changed, 2 insertions, 4 deletions
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));
}