diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-18 08:39:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-18 08:39:37 +0100 |
commit | cbc0b5e1f322418f190c1faa056be87f762d4f4b (patch) | |
tree | 17ad9e6588317ac10f274bce427fb9bf8e4d49f8 /cppuhelper/source | |
parent | 32cc6ab5f2f4163672b2d2300069a1b1fbbdcd51 (diff) |
-Werror=unused-function (DISABLE_DYNLOADING)
Change-Id: I2d70946423c6b1fe56d1630d6982e91bd5c7d81a
Diffstat (limited to 'cppuhelper/source')
-rw-r--r-- | cppuhelper/source/shlib.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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<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( |