diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-05 16:28:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-08 14:13:17 +0200 |
commit | 2979ff295c9fafdb92cb56cd1f5ddb0a6b56cf20 (patch) | |
tree | b2088ed0b437f8181af5bdce70fd0d7ef27ea8e0 /vbahelper | |
parent | eae0dda3e2eddb55b4e2032136541c15ba87fa09 (diff) |
fdo#38835 strip out OUString globals
Change-Id: I1a435214af102461e02217f7d95248dac14e5f1a
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbaglobalbase.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vbahelper/source/vbahelper/vbaglobalbase.cxx b/vbahelper/source/vbahelper/vbaglobalbase.cxx index 4bfdb4ee8f00..53027d2c44ce 100644 --- a/vbahelper/source/vbahelper/vbaglobalbase.cxx +++ b/vbahelper/source/vbahelper/vbaglobalbase.cxx @@ -150,11 +150,8 @@ VbaGlobalsBase::createInstanceWithArguments( const OUString& aServiceSpecifier, uno::Sequence< OUString > SAL_CALL VbaGlobalsBase::getAvailableServiceNames( ) throw (uno::RuntimeException, std::exception) { - static const OUString names[] = { - // common - OUString("ooo.vba.msforms.UserForm"), - }; - static uno::Sequence< OUString > serviceNames( names, sizeof( names )/ sizeof( names[0] ) ); + uno::Sequence< OUString > serviceNames(1); + serviceNames[0] = "ooo.vba.msforms.UserForm"; return serviceNames; } |