From 220336d73660a7713b95ae8b85f80d14ce02b58f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 15 Apr 2012 09:06:10 +0200 Subject: Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING --- cppuhelper/source/shlib.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index 44945b7d9255..f83db94a6603 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -556,7 +556,10 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory( } #if OSL_DEBUG_LEVEL > 1 if ( pSym == NULL ) - OSL_TRACE( "attempting to load unknown library %s", OUStringToOString( rLibName, RTL_TEXTENCODING_ASCII_US ).getStr() ); + { + fprintf( stderr, "attempting to load unknown library %s", OUStringToOString( rLibName, RTL_TEXTENCODING_ASCII_US ).getStr() ); + assert( !"Attempt to load unknown library" ); + } #endif } #else -- cgit