diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-04-15 09:06:10 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-04-15 11:56:52 +0200 |
commit | 220336d73660a7713b95ae8b85f80d14ce02b58f (patch) | |
tree | b1db8c74a50891e3d46f8332af8e8ea12d2c3196 /cppuhelper | |
parent | e56b2109c07498242608064a47b4776423352ddb (diff) |
Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/shlib.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 |