summaryrefslogtreecommitdiff
path: root/io/test/stm/datatest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/test/stm/datatest.cxx')
-rw-r--r--io/test/stm/datatest.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx
index f98f60276b5a..3d030805971a 100644
--- a/io/test/stm/datatest.cxx
+++ b/io/test/stm/datatest.cxx
@@ -614,8 +614,7 @@ Reference < XInterface > SAL_CALL OMyPersistObject_CreateInstance(
Sequence<OUString> OMyPersistObject_getSupportedServiceNames( ) throw ()
{
- Sequence<OUString> aRet(1);
- aRet.getArray()[0] = OMyPersistObject_getImplementationName();
+ Sequence<OUString> aRet { OMyPersistObject_getImplementationName() };
return aRet;
}