diff options
Diffstat (limited to 'io/test/stm/pumptest.cxx')
-rw-r--r-- | io/test/stm/pumptest.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx index d337bc21a81a..a2bdf4ff804f 100644 --- a/io/test/stm/pumptest.cxx +++ b/io/test/stm/pumptest.cxx @@ -414,9 +414,7 @@ Reference< XInterface > SAL_CALL OPumpTest_CreateInstance( const Reference< XMul Sequence<OUString> OPumpTest_getSupportedServiceNames() throw() { - OUString s = OPumpTest_getServiceName(); - Sequence< OUString > seq( &s , 1 ); - return seq; + return { OPumpTest_getServiceName() }; } OUString OPumpTest_getServiceName() throw() |