diff options
Diffstat (limited to 'io/test/stm/pipetest.cxx')
-rw-r--r-- | io/test/stm/pipetest.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io/test/stm/pipetest.cxx b/io/test/stm/pipetest.cxx index 2d9ee9f5091f..f7dc2d46d5a2 100644 --- a/io/test/stm/pipetest.cxx +++ b/io/test/stm/pipetest.cxx @@ -411,8 +411,7 @@ Reference < XInterface > SAL_CALL OPipeTest_CreateInstance( const Reference< XMu Sequence<OUString> OPipeTest_getSupportedServiceNames() throw() { - Sequence<OUString> aRet(1); - aRet.getArray()[0] = OPipeTest_getServiceName(); + Sequence<OUString> aRet { OPipeTest_getServiceName() }; return aRet; } |