summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-05-02 12:25:43 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-02 19:05:33 +0200
commit527bd5364178246a38962144e341fd4e71b6a31b (patch)
treedf1f96193f575ed12f6b1f54bf5153c6b4fc4767
parent2274f55fb2718b1c81a8c5c73c5ae2242e349c17 (diff)
cppuhelper: Allow logging the used services / constructors.
Change-Id: I9090561032e2f6e97eb74b8f1e8cd1698171e6ea
-rw-r--r--cppuhelper/source/shlib.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index 8868d591ee91..6a003277049a 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -239,6 +239,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory(
}
if (constructor.isEmpty()) {
rtl::OUString sym;
+ SAL_INFO("cppuhelper.shlib", "prefix=" << prefix << " implementation=" << implementation << " uri=" << uri);
if (prefix == "direct") {
sym = implementation.replace('.', '_') + "_" COMPONENT_GETFACTORY;
} else if (!prefix.isEmpty()) {
@@ -262,6 +263,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory(
reinterpret_cast<component_getFactoryFunc>(fp), uri, implementation,
serviceManager);
} else {
+ SAL_INFO("cppuhelper.shlib", "constructor=" << constructor);
oslGenericFunction fp = mod.getFunctionSymbol(constructor);
if (fp == 0) {
throw css::loader::CannotActivateFactoryException(