Fix platform-specific library name

Change-Id: I3a626260d7e48daef7b6f78b814730849135b4e2
Reviewed-on: https://gerrit.libreoffice.org/78419
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2019-09-02 21:23:38 +02:00
parent 90e2f53ec5
commit 4a63d78ded

View File

@@ -2186,7 +2186,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
{
#ifndef DISABLE_DYNLOADING
customMakeWidget pFunction = nullptr;
ModuleMap::iterator aI = g_aModuleMap.find("libsfxlo.so");
ModuleMap::iterator aI = g_aModuleMap.find(SAL_DLLPREFIX "sfxlo" SAL_DLLEXTENSION);
pFunction = reinterpret_cast<customMakeWidget>(aI->second->getFunctionSymbol("makeNotebookbarToolBox"));
NotebookBarAddonsMerger::MergeNotebookBarAddons( pParent, pFunction, m_xFrame, m_pNotebookBarAddonsItem, rMap );
#endif