summaryrefslogtreecommitdiff
path: root/filter/source/flash/swfdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash/swfdialog.cxx')
-rw-r--r--filter/source/flash/swfdialog.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/filter/source/flash/swfdialog.cxx b/filter/source/flash/swfdialog.cxx
index ec79ca4134ea..5d8f26914288 100644
--- a/filter/source/flash/swfdialog.cxx
+++ b/filter/source/flash/swfdialog.cxx
@@ -55,9 +55,7 @@ OUString SWFDialog_getImplementationName ()
Sequence< OUString > SAL_CALL SWFDialog_getSupportedServiceNames()
throw (RuntimeException)
{
- Sequence < OUString > aRet(1);
- OUString* pArray = aRet.getArray();
- pArray[0] = SERVICE_NAME;
+ Sequence<OUString> aRet { SERVICE_NAME };
return aRet;
}