summaryrefslogtreecommitdiff
path: root/shell/source/unix/exec/shellexecentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/unix/exec/shellexecentry.cxx')
-rw-r--r--shell/source/unix/exec/shellexecentry.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/source/unix/exec/shellexecentry.cxx b/shell/source/unix/exec/shellexecentry.cxx
index 299413079668..6a26ef0b25e3 100644
--- a/shell/source/unix/exec/shellexecentry.cxx
+++ b/shell/source/unix/exec/shellexecentry.cxx
@@ -59,12 +59,10 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL syssh_component_getFactory(
if (0 == ::rtl_str_compare( pImplName, SHELLEXEC_IMPL_NAME ))
{
- OUString serviceName( SHELLEXEC_SERVICE_NAME );
-
xFactory = ::cppu::createSingleComponentFactory(
createInstance,
- OUString( SHELLEXEC_IMPL_NAME ),
- Sequence< OUString >( &serviceName, 1 ) );
+ SHELLEXEC_IMPL_NAME,
+ Sequence< OUString > { SHELLEXEC_SERVICE_NAME } );
}