Kaydet (Commit) 9ea6c0e6 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

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: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 76bf3939
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment