diff options
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbaglobalbase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbaglobalbase.cxx b/vbahelper/source/vbahelper/vbaglobalbase.cxx index d57e421d3f27..fd19e4a3cb58 100644 --- a/vbahelper/source/vbahelper/vbaglobalbase.cxx +++ b/vbahelper/source/vbahelper/vbaglobalbase.cxx @@ -150,8 +150,7 @@ VbaGlobalsBase::createInstanceWithArguments( const OUString& aServiceSpecifier, uno::Sequence< OUString > SAL_CALL VbaGlobalsBase::getAvailableServiceNames( ) throw (uno::RuntimeException, std::exception) { - uno::Sequence< OUString > serviceNames(1); - serviceNames[0] = "ooo.vba.msforms.UserForm"; + uno::Sequence< OUString > serviceNames { "ooo.vba.msforms.UserForm" }; return serviceNames; } |