diff options
Diffstat (limited to 'io/test/stm/marktest.cxx')
-rw-r--r-- | io/test/stm/marktest.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/io/test/stm/marktest.cxx b/io/test/stm/marktest.cxx index f481c31bc860..e737f9400c00 100644 --- a/io/test/stm/marktest.cxx +++ b/io/test/stm/marktest.cxx @@ -375,8 +375,7 @@ Reference < XInterface > SAL_CALL OMarkableOutputStreamTest_CreateInstance( cons Sequence<OUString> OMarkableOutputStreamTest_getSupportedServiceNames() throw () { - Sequence<OUString> aRet(1); - aRet.getArray()[0] = OMarkableOutputStreamTest_getImplementationName(); + Sequence<OUString> aRet { OMarkableOutputStreamTest_getImplementationName() }; return aRet; } @@ -647,8 +646,7 @@ Reference < XInterface > SAL_CALL OMarkableInputStreamTest_CreateInstance( const Sequence<OUString> OMarkableInputStreamTest_getSupportedServiceNames() throw () { - Sequence<OUString> aRet(1); - aRet.getArray()[0] = OMarkableInputStreamTest_getImplementationName(); + Sequence<OUString> aRet { OMarkableInputStreamTest_getImplementationName() }; return aRet; } |