summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-18 08:39:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-18 08:39:37 +0100
commitcbc0b5e1f322418f190c1faa056be87f762d4f4b (patch)
tree17ad9e6588317ac10f274bce427fb9bf8e4d49f8 /cppuhelper
parent32cc6ab5f2f4163672b2d2300069a1b1fbbdcd51 (diff)
-Werror=unused-function (DISABLE_DYNLOADING)
Change-Id: I2d70946423c6b1fe56d1630d6982e91bd5c7d81a
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx4
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(