diff options
Diffstat (limited to 'shell/source/cmdmail/cmdmailentry.cxx')
-rw-r--r-- | shell/source/cmdmail/cmdmailentry.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/source/cmdmail/cmdmailentry.cxx b/shell/source/cmdmail/cmdmailentry.cxx index 626c4cf0e3d1..71cdb6b1b650 100644 --- a/shell/source/cmdmail/cmdmailentry.cxx +++ b/shell/source/cmdmail/cmdmailentry.cxx @@ -61,12 +61,10 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL cmdmail_component_getFactory( if (0 == ::rtl_str_compare( pImplName, COMP_IMPL_NAME )) { - OUString serviceName(COMP_SERVICE_NAME); - xFactory = ::cppu::createSingleComponentFactory( createInstance, - OUString( COMP_IMPL_NAME ), - Sequence< OUString >( &serviceName, 1 ) ); + COMP_IMPL_NAME, + Sequence< OUString > { COMP_SERVICE_NAME } ); } if (xFactory.is()) |