diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-31 15:13:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 15:25:43 +0000 |
commit | b5db48ada113206ac090e4a08f2ae211859103ed (patch) | |
tree | 5ca14a8e4209f18845476546953683b6adc860ab /extensions | |
parent | 9da44ea99fe2fb4455b5e02ee8b178f22584254a (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 'extensions')
-rw-r--r-- | extensions/source/abpilot/admininvokationimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/abpilot/admininvokationimpl.cxx b/extensions/source/abpilot/admininvokationimpl.cxx index 0dd778269de4..b17973902012 100644 --- a/extensions/source/abpilot/admininvokationimpl.cxx +++ b/extensions/source/abpilot/admininvokationimpl.cxx @@ -87,7 +87,7 @@ namespace abp // creating the dialog service is potentially expensive (if all the libraries invoked need to be loaded) // so we display a wait cursor WaitObject aWaitCursor(m_pMessageParent); - Reference<XInterface> x = m_xContext->getServiceManager()->createInstanceWithArgumentsAndContext(OUString(s_sDataSourceTypeChangeDialog), aArguments, m_xContext); + Reference<XInterface> x = m_xContext->getServiceManager()->createInstanceWithArgumentsAndContext(s_sDataSourceTypeChangeDialog, aArguments, m_xContext); xDialog = Reference< XExecutableDialog >( x, UNO_QUERY ); // just for a smoother UI: What the dialog does upon execution, is (amongst other things) creating |