vcl/source/window/builder.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 316d06f96a4ede4fa1865144af0bfe0abcedb76a Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Apr 5 11:52:21 2018 +0200
-Werror=unused-variable Change-Id: I098bbf78cb4b9a7e24b8767f70c35ef67d2d5c6c diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 926549db5302..926a69b47231 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1797,6 +1797,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & pModule.reset(new osl::Module); bool ok = pModule->loadRelative(&thisModule, sModule); assert(ok && "bad module name in .ui"); + (void) ok; pFunction = reinterpret_cast<customMakeWidget>(pModule->getFunctionSymbol(sFunction)); } g_aModuleMap.insert(std::make_pair(sModule, pModule)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits