summaryrefslogtreecommitdiff
path: root/io/source/TextInputStream/TextInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/TextInputStream/TextInputStream.cxx')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index de67189f844a..d0cbf9fbca88 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -443,8 +443,7 @@ OUString TextInputStream_getImplementationName()
Sequence< OUString > TextInputStream_getSupportedServiceNames()
{
- Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = SERVICE_NAME;
+ Sequence< OUString > seqNames { SERVICE_NAME };
return seqNames;
}