From cbc0b5e1f322418f190c1faa056be87f762d4f4b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 18 Jan 2017 08:39:37 +0100 Subject: -Werror=unused-function (DISABLE_DYNLOADING) Change-Id: I2d70946423c6b1fe56d1630d6982e91bd5c7d81a --- cppuhelper/source/shlib.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cppuhelper/source') diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index fa88cc4b484c..e3791ac12a00 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -160,6 +160,8 @@ css::uno::Reference 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( -- cgit