diff options
-rw-r--r-- | cppuhelper/source/shlib.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index 9218581ff005..debbdb08c33c 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -197,6 +197,10 @@ void cppuhelper::detail::loadSharedLibComponentFactory( } if (fp == 0) { SAL_WARN("cppuhelper", "unknown factory name \"" << name << "\""); +#if defined IOS && !defined SAL_LOG_WARN + // If the above SAL_WARN expanded to nothing, print to stderr... + fprintf(stderr, "Unknown factory name %s\n", OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr()); +#endif throw css::loader::CannotActivateFactoryException( "unknown factory name \"" + name + "\"", css::uno::Reference<css::uno::XInterface>()); @@ -217,6 +221,10 @@ void cppuhelper::detail::loadSharedLibComponentFactory( } } SAL_WARN("cppuhelper", "unknown constructor name \"" << constructor << "\""); +#if defined IOS && !defined SAL_LOG_WARN + // If the above SAL_WARN expanded to nothing, print to stderr... + fprintf(stderr, "Unknown constructor name %s\n", OUStringToOString(constructor, RTL_TEXTENCODING_UTF8).getStr()); +#endif throw css::loader::CannotActivateFactoryException( "unknown constructor name \"" + constructor + "\"", css::uno::Reference<css::uno::XInterface>()); |