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

Stephan Bergmann sbergman at redhat.com
Wed Jan 18 07:40:18 UTC 2017


 cppuhelper/source/shlib.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit cbc0b5e1f322418f190c1faa056be87f762d4f4b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 18 08:39:37 2017 +0100

    -Werror=unused-function (DISABLE_DYNLOADING)
    
    Change-Id: I2d70946423c6b1fe56d1630d6982e91bd5c7d81a

diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index fa88cc4..e3791ac 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -160,6 +160,8 @@ css::uno::Reference<css::uno::XInterface> invokeComponentFactory(
     }
 }
 
+#if !defined DISABLE_DYNLOADING
+
 extern "C" void getInstance(va_list * args) {
     cppuhelper::ImplementationConstructorFn * fn = va_arg(*args, cppuhelper::ImplementationConstructorFn *);
     void * ctxt = va_arg(*args, void *);
@@ -224,6 +226,8 @@ cppuhelper::WrapperConstructorFn mapConstructorFn(
     }
 }
 
+#endif
+
 }
 
 void cppuhelper::detail::loadSharedLibComponentFactory(


More information about the Libreoffice-commits mailing list