summaryrefslogtreecommitdiff
path: root/shell/source/cmdmail
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 08:29:36 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:10:44 +0200
commit59b072e22b0610abc7ffdbc75873ef5cbba58de7 (patch)
tree663c2d01a983508f9b22ec87fae29b16ab5a1683 /shell/source/cmdmail
parentbaa411b59c3840a4dddf5447a0b4583eb5edea74 (diff)
yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
Diffstat (limited to 'shell/source/cmdmail')
-rw-r--r--shell/source/cmdmail/cmdmailentry.cxx6
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())