[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 2 20:19:19 UTC 2019


 vcl/source/window/builder.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4a63d78ded7b11c7b820d2c941a0c9aed18326fc
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Sep 2 21:23:38 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Sep 2 22:18:37 2019 +0200

    Fix platform-specific library name
    
    Change-Id: I3a626260d7e48daef7b6f78b814730849135b4e2
    Reviewed-on: https://gerrit.libreoffice.org/78419
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index a50072d5fa50..2c4d6c3119da 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -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


More information about the Libreoffice-commits mailing list