Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING

This commit is contained in:
Tor Lillqvist 2012-04-15 09:06:10 +02:00
parent e56b2109c0
commit 220336d736

View file

@ -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