diff options
Diffstat (limited to 'dtrans/source/win32/ftransl/ftranslentry.cxx')
-rw-r--r-- | dtrans/source/win32/ftransl/ftranslentry.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/win32/ftransl/ftranslentry.cxx b/dtrans/source/win32/ftransl/ftranslentry.cxx index 3ddc84a25f68..a81b2d0f6ce5 100644 --- a/dtrans/source/win32/ftransl/ftranslentry.cxx +++ b/dtrans/source/win32/ftransl/ftranslentry.cxx @@ -68,8 +68,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL ftransl_component_getFactory( const sal_Char if ( pSrvManager && ( 0 == rtl_str_compare( pImplName, IMPL_NAME ) ) ) { - Sequence< OUString > aSNS( 1 ); - aSNS.getArray( )[0] = OUString( SERVICE_NAME ); + Sequence< OUString > aSNS { SERVICE_NAME }; Reference< XSingleServiceFactory > xFactory ( createOneInstanceFactory( reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ), |