diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-11 14:35:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-11 15:03:11 +0200 |
commit | 284347b764ed9867c0ba15f5ac9b153030a104f0 (patch) | |
tree | e172248bb611d53fef83b89bde279b44e8f1cbaa /cppuhelper | |
parent | a0f368b657fbba47bd8015cc1c173f38b3f2e8a0 (diff) |
Not being able to honor a "prefix" is a rather hard error
It happens when an extension has just been live-deployed into the running
soffice process and then trying to instantiate out-of-process in an additional
uno process one of that extension's shared library components and that component
---erroneously---uses the "prefix" feature. (Which can be reproduced with the
mysql-connector-ooo.oxt extension, --enable-ext-mariadb-connector: "rm -rf
instdir/*/share/extensions/mysql-connector-ooo", "instdir/*/program/soffice
workdir/*/Extension/mysql-connector.oxt", install the per-user, then "File - New
- Database - Connect to an existing database: MySQL - Next >> - Connect directly
- Next >> - Database name: foo - Server / Port - Server: bar - Next >> - Test
Connection", crash.)
Change-Id: Ibab2ad31199eec5dc26ffa337a5e3e7490f782d7
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/servicemanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index ab48268cb1f8..055bdd37b6d0 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -656,7 +656,7 @@ void cppuhelper::ServiceManager::loadImplementation( uri, rtl::OUString(), info->name, this, css::uno::Reference< css::registry::XRegistryKey >(), prefix); } else { - SAL_INFO_IF( + SAL_WARN_IF( !info->prefix.isEmpty(), "cppuhelper", "Loader " << info->loader << " and non-empty prefix " << info->prefix); |