summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msvbahelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/msvbahelper.cxx')
-rw-r--r--filter/source/msfilter/msvbahelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index b55eadd69029..278112b4ef9e 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -509,8 +509,7 @@ bool executeMacro( SfxObjectShell* pShell, const OUString& sMacroName, uno::Sequ
uno::Sequence< OUString > VBAMacroResolver_getSupportedServiceNames()
{
- uno::Sequence< OUString > aServiceNames( 1 );
- aServiceNames[ 0 ] = "com.sun.star.script.vba.VBAMacroResolver";
+ uno::Sequence<OUString> aServiceNames { "com.sun.star.script.vba.VBAMacroResolver" };
return aServiceNames;
}