[Libreoffice-commits] core.git: vcl/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 28 10:20:23 UTC 2019
vcl/source/window/builder.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 28e2dc30149178bbe6f59e28ddef3f0bd62d4bb1
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Aug 28 11:11:57 2019 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Aug 28 12:14:42 2019 +0200
Add DISABLE_DYNLOADING guard for notebookbar addons builder
Change-Id: I99487a8adaa24f155eec2182899127c5bab6a21f
Reviewed-on: https://gerrit.libreoffice.org/78219
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index c114a660ca3e..e25665771af1 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2183,10 +2183,12 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
}
else if (name == "NotebookBarAddonsToolMergePoint")
{
+#ifndef DISABLE_DYNLOADING
customMakeWidget pFunction = nullptr;
ModuleMap::iterator aI = g_aModuleMap.find("libsfxlo.so");
pFunction = reinterpret_cast<customMakeWidget>(aI->second->getFunctionSymbol("makeNotebookbarToolBox"));
NotebookBarAddonsMerger::MergeNotebookBarAddons( pParent, pFunction, m_xFrame, m_pNotebookBarAddonsItem, rMap );
+#endif
return nullptr;
}
else if (name == "GtkToolButton" || name == "GtkMenuToolButton" ||
More information about the Libreoffice-commits
mailing list