diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-07-26 00:19:06 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-07-27 08:01:27 +0200 |
commit | 9ea6c0e6777c5b367ec507f10858c9c4be5960ed (patch) | |
tree | 5488a4464c6a7be8ae13ebe1cbd4eb30426fc860 /basic | |
parent | 76bf3939b0583212a56c317c85aea110f8ac6fee (diff) |
tdf#109132, load VBA library by default during ODF import
Without loading the VBA library any of the functions inside of the
library will not be available for spreadsheet functions.
Change-Id: I7d0b931ef4817e5870635f43f4b4ae4399780bc4
Reviewed-on: https://gerrit.libreoffice.org/58149
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 77b2b5fe2235..1a4948ab9081 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -561,7 +561,7 @@ void BasicManager::SetLibraryContainerInfo( const LibraryContainerInfo& rInfo ) { uno::Any aLibAny = xScriptCont->getByName( *pScriptLibName ); - if ( *pScriptLibName == "Standard" ) + if ( *pScriptLibName == "Standard" || *pScriptLibName == "VBAProject") xScriptCont->loadLibrary( *pScriptLibName ); BasMgrContainerListenerImpl::insertLibraryImpl |